A library for binding Events to synchronous and asynchronous effects.
The library contains four functions.
| Function | Signature | Description | 
|---|---|---|
| bindToAff | forall a b. Event a -> (a -> Aff b) -> Event b | Transforms aintobvia an Aff, emittingb-s in order. | 
| bindToAffWithCancellation | forall a b. Event a -> (a -> Aff b) -> Event b | Transforms aintobvia an Aff, emittingb-s in order. When a newais received, the previous computation to produceAff bis canceled if it is still ongoing. | 
| bindToAffParallel | forall a b. Event a -> (a -> Aff b) -> Event b | Transforms aintobvia an Aff, emittingb-s as soon as they come in. This could result inb-s arriving out of order compared to thea-s. | 
| bindToEffect | forall a b. Event a -> (a -> Effect b) -> Event b | Transforms aintobvia an Effect. |