Labs/Jetpack/JEP/28: Difference between revisions

Jump to navigation Jump to search
m
→‎Functions: rewording
(→‎Modules: added observer-service module docs)
m (→‎Functions: rewording)
Line 173: Line 173:
<tt>observer-service.'''notify'''(''topic'', ''subject'', ''data'')</tt>
<tt>observer-service.'''notify'''(''topic'', ''subject'', ''data'')</tt>


Broadcasts a notification event with the given topic string, passing ''subject'' and ''data'' to all applicable observers in the application.
Broadcasts a notification event with the string ''topic'', passing ''subject'' and ''data'' to all applicable observers in the application.


=== <tt>timer</tt> ===
=== <tt>timer</tt> ===
874

edits

Navigation menu