SubscribableMixin

A default mixin implementing storage logic for subscribers.

@safe
mixin template SubscribableMixin (
EventType
Callback
) {}

Members

Functions

subscribe
typeof(this) subscribe(EventType type, Callback subscriber)

Subscribe a delegate to a particular event emmited by object

Meta