real-value-arrayqueue
v0.1.3
Published
A library providing an in memory queue mechanism based on an array
Downloads
13
Readme
real-value-arrayqueue Library
An implemententation of a queue using an in memory array list.
This is being used in pipelines to link Readers and Writers
About
In a pipeline backpressure is a significant concept to allow compute resource to deliver continue flow of processing when the data streams are of different sizes.
Install
npm install real-value-arrayqueue
How to use
let arrayQueue = ArrayQueue({name:'q1'})
arrayQueue.enqueue({}) //queue something
let item = arrayQueue.dequeue() //dequeue somethin