Module
IxQueue
- Package
- purescript-queue
- Repository
- athanclark/purescript-queue
#putManyIxQueue Source
putManyIxQueue :: forall rw t a eff. Traversable t => IxQueue (write :: WRITE | rw) (ref :: REF | eff) a -> String -> NonEmpty t a -> Eff (ref :: REF | eff) Unit
Application policy is such that the inputs are stored in the named handler's "pending" values, if a handler isn't registered.
#broadcastManyIxQueue Source
broadcastManyIxQueue :: forall rw t a eff. Traversable t => IxQueue (write :: WRITE | rw) (ref :: REF | eff) a -> NonEmpty t a -> Eff (ref :: REF | eff) Unit
#broadcastManyExceptIxQueue Source
broadcastManyExceptIxQueue :: forall rw t a eff. Traversable t => IxQueue (write :: WRITE | rw) (ref :: REF | eff) a -> Array String -> NonEmpty t a -> Eff (ref :: REF | eff) Unit
Application policy is such that the inputs will be applied uniformly to all handlers, sorted by their keyed ordering, per input - directed by t
's Traversable
instance.
#onIxQueue Source
onIxQueue :: forall rw a eff. IxQueue (read :: READ | rw) (ref :: REF | eff) a -> String -> (Handler (ref :: REF | eff) a) -> Eff (ref :: REF | eff) Unit
Application policy is such that the globally pending inputs will be extracted and applied to the handler, if they exist, and likewise to the locally pending inputs,