fromNotifier
Creates an observer from a notification callback.
Arguments
handler
(Function): Function that handles a notification.
Returns
(Observer): The observer object that invokes the specified handler using a notification corresponding to each message it receives.
Example
Last updated