Enqueue element
(interface{})
| 6 | type Queue interface { |
| 7 | // Enqueue element |
| 8 | Enqueue(interface{}) error |
| 9 | // Dequeue element |
| 10 | Dequeue() (interface{}, error) |
| 11 | // DequeueOrWaitForNextElement dequeues an element (if exist) or waits until the next element gets enqueued and returns it. |
no outgoing calls