Method: Libuv::Idle#stop

Defined in:
lib/libuv/idle.rb

#stopObject

Disables the idle handler.



31
32
33
34
35
36
# File 'lib/libuv/idle.rb', line 31

def stop
    return if @closed
    error = check_result ::Libuv::Ext.idle_stop(handle)
    reject(error) if error
    self
end