Next: Sealers, Previous: Pushdown, Up: actor-lib: A standard library of sorts [Contents][Index]
The (goblins actor-lib queue) module provides a FIFO queue.
Constructs a FIFO queue actor which has the following methods:
length: Return the length of the queue.
empty?: Return #t if the queue is empty, #f otherwise.
enqueue val: Pushes val onto the queue.
dequeue: Removes and returns the oldest inserted value from the queue.