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.
function to free queue elements
a new #GAsyncQueue. Free with g_async_queue_unref()
ConstructionException GTK+ fails to create the object.
2.16
See Implementation
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.