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 glib.AsyncQueue Free with AsyncQueue.unref
ConstructionException GTK+ fails to create the object.
2.16
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.