observables v0.1.2 Observables.GenObservable behaviour View Source
Link to this section Summary
Functions
Throttles the GenObservable. It will lock it up for given timeperiod such that it can not send/receive events
This function is called by the GenServer process. Here we call the init function f the module provided by the programmer
Sends a new_value message to this GenObservable, such that it procudes a new value for its dependees
Sends a message to observee_pid that observer_pid needs to be notified of new events
This function is called when a programmer starts his module: Observable.start_link(MyObservable, initial_state)
Sends a message to observee_pid that observer_pid no longer wants to be notified of events
Link to this section Functions
Throttles the GenObservable. It will lock it up for given timeperiod such that it can not send/receive events.
This function is called by the GenServer process. Here we call the init function f the module provided by the programmer.
Sends a new_value message to this GenObservable, such that it procudes a new value for its dependees.
Sends a message to observee_pid that observer_pid needs to be notified of new events.
This function is called when a programmer starts his module: Observable.start_link(MyObservable, initial_state)
Sends a message to observee_pid that observer_pid no longer wants to be notified of events.