NAME

AnyEvent::Subprocess::Running::Delegate - delegate on the running process class

REQUIRED METHODS

Delegates must implement these methods:

build_events

Return a list of events that need to be sent before the run will be considered complete

build_done_delegates

Return a list of delegates to be passed to the "done" instance.

completion_hook

Called after all events are received but before calling the final on_complete method.

METHODS

event_sender_for($name)

Returns the event sender coderef for the event named $name. $name should have been returned by build_events, otherwise this will break.

send_event($name, $value)

Method that works like calling the coderef returned by event_sender_for($name).