DESCRIPTION¶
Remove next pending call-out for function fun
in the current object, resp. the next pending call-out for closure fun
. The time left is returned.
-1 is returned if there were no call-outs pending to this function.
USAGE¶
To remove every pending call-out to MyTimer()
:
while (remove_call_out("MyTimer") != -1) continue;
HISTORY¶
- changed (3.2.1) – can now remove a call_out to a closure