Store implements subscribe and subscribeOnce methods. The callbacks are fired in the component's scope only. Allow the store to fire its subscribers in the given context like:
StoreFacade().subscribe("start", m._onStart, m)
' in the store's _notify function:
functionCall(listener.callback[0], [value], m)
This is a Feature Proposal
Description
Store
implementssubscribe
andsubscribeOnce
methods. The callbacks are fired in the component's scope only. Allow the store to fire its subscribers in the given context like: