NAME

Mesos::Dispatcher::Interrupt

DESCRIPTION

A Mesos::Dispatcher implementation that uses Async::Interrupt for dispatching.

In order to interrupt AnyEvent, during Mesos::Dispatcher's wait call, the Interrupt implementation creates an AnyEvent timer to trigger every 100ms. This is needed because AnyEvent's recv blocks on a select call, which Async::Interrupt cannot interrupt by itself.