We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 348dcf3 commit 3c88243Copy full SHA for 3c88243
src/rt.erl
@@ -664,7 +664,7 @@ wait_until(Fun) when is_function(Fun) ->
664
665
%% @doc Convenience wrapper for wait_until for the myriad functions that
666
%% take a node as single argument.
667
--spec wait_until(node(), fun((node()) -> boolean())) -> ok | {fail, Result :: term()}.
+-spec wait_until(node(), fun(() -> boolean())) -> ok | {fail, Result :: term()}.
668
wait_until(Node, Fun) when is_atom(Node), is_function(Fun) ->
669
wait_until(fun() -> Fun(Node) end);
670
0 commit comments