Module
IxQueue
- Package
- purescript-queue
- Repository
- athanclark/purescript-queue
#injectIxQueue Source
injectIxQueue :: forall a k eff. Ord k => IxQueue (channel :: CHANNEL, ref :: REF | eff) k a -> k -> Queue (channel :: CHANNEL, ref :: REF | eff) a -> Eff (channel :: CHANNEL, ref :: REF | eff) Unit
Note: if a Queue already exists in the IxQueue, then it reads all of the values in the existing queue before replacing it with the new one, then inserts the read entities.