BlockingQueue.push

Add an item to the queue.

  1. void push(Type item, Timeout timeout)
    struct BlockingQueue(Type, ushort MaxItems)
    @safe @nogc
    void
    push
  2. Type* push(Timeout timeout)

Parameters

item Type

item to add.

timeout Timeout

how long to wait if no room to add immediately.

Meta