NotifyingByteQueue.push

Push an item into the queue and notify the next waiting handler about it.

  1. bool push(void[] data)
  2. bool push(size_t size, void delegate(void[]) filler)
    class NotifyingByteQueue
    bool
    push
    (
    size_t size
    ,
    scope void delegate
    (
    void[]
    )
    filler
    )

Parameters

size size_t

size of the item to push

filler void delegate
(
void[]
)

delegate that will be called with that item to fill in the actual data

Return Value

Type: bool

true if push was successful false if not

Meta