Module

Queue.One.Aff

Package
purescript-queue
Repository
athanclark/purescript-queue

#IOQueues Source

newtype IOQueues (eff :: Row Effect) input output

Constructors

#newIOQueues Source

newIOQueues :: forall output input eff. Eff (ref :: REF | eff) (IOQueues (ref :: REF | eff) input output)

#callAsync Source

callAsync :: forall output input eff. IOQueues (ref :: REF | eff) input output -> input -> Aff (ref :: REF | eff) output

#registerSyncOnce Source

registerSyncOnce :: forall output input eff. IOQueues (ref :: REF | eff) input output -> (input -> Eff (ref :: REF | eff) output) -> Eff (ref :: REF | eff) Unit

#registerSync Source

registerSync :: forall output input eff. IOQueues (ref :: REF | eff) input output -> (input -> Eff (ref :: REF | eff) output) -> Eff (ref :: REF | eff) Unit