Evo
view release on metacpan or search on metacpan
lib/Evo/Ee.pm view on Meta::CPAN
=head2 ee_remove
Add and remove listener from the event by the name and subroutine.
my $ref = $comp->ee_add(connection => sub {"here"});
$comp->ee_remove($ref);
The name of the event will be checked using C<ee_events>, which should be implemented by class and return a list of available names
Don't use in the event (or weaken ref if you need to use it)
=head2 ee_remove_current
$comp->ee_add(
connection => sub($self) {
$self->ee_remove_current;
}
);
When called in the event, remove current event. Die outside an event
( run in 0.699 second using v1.01-cache-2.11-cpan-65fba6d93b7 )