pub fn register_handler<F>(handler: F) -> u64Expand description
Register a handler callback. The handler is executed immediately on the thread
that calls invoke_callback with the returned ID. Use remove_callback(id)
to unregister when no longer needed.