Subscribable

Interface for objects that can be subscribed to specific events emmited by them.

@safe @safe
interface Subscribable (
EventType
Callback
) {}

Members

Functions

subscribe
Subscribable subscribe(EventType type, Callback subscriber)

Subscribe a delegate to a particular event emmited by object

Meta