Observable Component
Permits observable pattern to be used in delegation pattern by exposing notification of observers via public method.
Functions
Link copied to clipboard
Allows the adding (attaching) of an observer to the observable
Link copied to clipboard
Returns how many observers are currently attached to the observable
Link copied to clipboard
Detaches all the observers from the observable
Link copied to clipboard
Allows the deletion (removing) of an observer from the observable
Link copied to clipboard
Returns true if the observer is already attached
Link copied to clipboard
Allows observable component to notify observers