Purpose
Check handles will run the given callback once per loop iteration, right after polling for i/o.
new_check¶
uv.new_check()
Initialize the handle.
Parameters
none
Examples
local check_handle = uv.new_check()
check_start¶
uv.check_start( check_handle, callback )
Start the handle with the given callback.
Parameters
none
Examples
uv.check_start( check_handle, function() print( 'checking...' ) end )
check_stop¶
uv.check_stop( check_handle )
Stop the handle, the callback will no longer be called.
Parameters
none
Examples
uv.check_stop( check_handle )
See also¶
The following API functionality applies to all handles: