Name
Mesos::Role::Dispatcher - role to dispatch events in an AnyEvent loop
Methods
- dispatch_events()
-
Instantiates the channel's initial IO watcher.
- dispatch_event()
-
Dispatch the next event in the channel. Returns undef if no events are queued.
- dispatch_loop()
-
Enter into the AnyEvent loop. The loop can be broke by calling stop_dispatch.
- stop_dispatch()
-
If in the middle of a dispatch loop, this will delete the condvar used, and break the loop.