Available on neko
A message queue for multithread access.
new()
Create a message queue for multithread access.
add(i:T):Void
Add a message at the end of the queue.
pop(block:Bool):Null<T>
Pop a message from the queue head. Either block until a message is available or return immediately with null.
null
push(i:T):Void
Add a message at the head of the queue.