typedef void(* VortexAsyncQueueForeach)(VortexAsyncQueue *queue, axlPointer item_stored, int position, axlPointer user_data)

Handler definition used by vortex_async_queue_foreach to implement a foreach operation over all items inside the provided queue, blocking its access during its process.

queue The queue that will receive the foreach operation.
item_stored The item stored on the provided queue.
position Item position inside the queue. 0 position is the next item to pop.
user_data User defined optional data provided to the foreach function.