Function tk_easyloop::handle [] [src]

pub fn handle() -> Handle

Returns current loop handle

This only works if running inside the run() function of the main loop

Panics

This function panics if there is no currently running loop (i.e. this function is not running from the inside of run().