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

p5-Mixin-Event-Dispatch

2.000

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.

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

Dependencies (2)

Required By (2 packages)

More in devel