Function SubscribableContainer.subscribe

Subscriber a delegate to a particular event emmited by object

SubscribableContainer subscribe (
  ContainerInstantiationEventType event,
  void delegate() subscriber
);

Parameters

NameDescription
event type of event emmited by object
subscriber the callback to be called on event emmited

Returns

typeof(this)