Module
IxQueue.Aff
- Package
- purescript-queue
- Repository
- athanclark/purescript-queue
#IOQueueKey Source
newtype IOQueueKey
#callAsync Source
callAsync :: forall output input. IOQueueKey -> IOQueues input output -> input -> Aff output
Invoke the queue in Aff
#callAsyncEff Source
callAsyncEff :: forall output input. IOQueueKey -> IOQueues input output -> Handler output -> input -> Effect Unit
Invoke the queue in Eff
#registerSync Source
registerSync :: forall output input. IOQueues input output -> (input -> Effect output) -> Effect IOQueueKey
For binding the receiver
#registerSyncOnce Source
registerSyncOnce :: forall output input. IOQueues input output -> (input -> Effect output) -> Effect IOQueueKey
Bind a receiver only once