AsyncQueue


Description:

[ Version ( since = "2.16" ) ]
[ CCode ( cname = "g_async_queue_new_full" , simple_generics = true ) ]
public AsyncQueue ()

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.

Parameters:

item_free_func

function to free queue elements

Returns:

a new AsyncQueue. Free with g_async_queue_unref