* Dequeues an element from the queue. * Returns either an element from the queue, or the `def` param.
(def: Def)
| 298 | * Returns either an element from the queue, or the `def` param. |
| 299 | */ |
| 300 | poll<Def>(def: Def): A | Def |
| 301 | /** |
| 302 | * Dequeues up to `limit` elements from the queue. |
| 303 | */ |
no outgoing calls