AsyncQueue.this

Creates a new asynchronous queue and sets up a destroy notify function that is used to free any remaining queue items when the queue is destroyed after the final unref.

  1. this(GAsyncQueue* gAsyncQueue, bool ownedRef)
  2. this()
  3. this(GDestroyNotify itemFreeFunc)
    class AsyncQueue

Parameters

itemFreeFunc GDestroyNotify

function to free queue elements

Return Value

a new #GAsyncQueue. Free with g_async_queue_unref()

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.16