FreeBSD.software
Home/devel/p5-Mixin-Event-Dispatch

p5-Mixin-Event-Dispatch

2.000devel

Mixin methods for simple event/message dispatch framework

Add Mixin::Event::Dispatch in as a parent to your class, and it'll provide some methods for defining event handlers ("subscribe_to_event" or "add_handler_for_event") and calling them ("invoke_event"). Note that handlers should return 0 for a one-off handler, and 1 if it should be called again on the next event.

$pkg install p5-Mixin-Event-Dispatch
metacpan.org/release/Mixin-Event-Dispatch
Origin
devel/p5-Mixin-Event-Dispatch
Size
69.5KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
2 packages

Dependencies (2)

Required By (2)