utils/subscribers

Utilities for handling subscribers.

Source:

Classes

Subscribers

Methods

(static) add_subscriber()

Source:

Add a subscriber to the given subscribers. Returns the new subscribers.

(static) call_subscribers()

Source:

Call the list of subscribers.

(static) init_subscribers()

Source:

Initialize a list of subscribers.

(static) remove_subscriber()

Source:

Removes a subscriber callback from the list of subscribers and returns the resulting list of subscribers.

(static) subscribers_is_empty()

Source:

Returns true if the given subscribers are empty.