Event
Event is an intention to change state.
Event Methods
Event Methods
watch(watcher)
Returns
(Subscription): Unsubscribe function
map(fn)
Сreates a new event, which will be called after the original event is called, applying the result of a fn
as a payload.
Returns
(Event): New event
filter(fn)
Returns
(Event): New event
prepend(fn)
Returns
(Event): New event