Contents
Adds itself to the Action event-delegate and then forwards anything posted by the event
to any subscribers to this type. We're trying to make events a bit more 'first class,
rather than the 'runt of the litter' that they are now.
So, as long as you can find a way to make your event into a single argument action, you can then use it with the streaming functionality within this library.
Parameters
| type | A | Value type |
Constructors
Methods
method SourceT<M, A> Subscribe <M> () Source #
where
M : MonadIO<M>, Fallible<M>
Subscribe to this event
method IO<Unit> Unsubscribe (Subscription sub) Source #
method IO<Unit> UnsubscribeAll () Source #