Beam-Emitter
Role for event emitting classes
This role is used by classes that want to add callback hooks to allow users to add new behaviors to their objects. These hooks are called "events". A subscriber registers a callback for an event using the "subscribe" or "on" methods. Then, the class can call those callbacks by emitting an event with the emit() method. Using the Beam::Event class, subscribers can stop an event from being processed, or prevent the default action from happening.
cpan: Beam::Emitter cpan-module: Beam::Emitter cpan-module: Beam::Event cpan-module: Beam::Listener
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| ledgersmb GitHub ↗ | 1.7.0 | 1 | 2 yr | details › |