Skip to main content

remove_call_out

Discworld driver help

remove_call_out

Name

remove_call_out() - remove a pending call_out

Synopsis

int remove_call_out( string fun | int handle );
int remove_call_out();

Description

Remove next pending call out for function `fun' in the current object, or the call_out() which returned the integer `handle'. The return value is the time remaining before the callback is to be called. The returned value is -1 if there were no call outs pending for this function. If no argument is given, all the call_outs of the object are removed, and 0 is returned.

See also

call_out(), call_out_info()