GLib.AsyncQueue.timeout_pop

### Method

# GLib AsyncQueuetimeout_pop

#### Declaration

    gpointer
    g_async_queue_timeout_pop (
      GAsyncQueue* queue,
      guint64 timeout
    )

#### Description

Pops data from the `queue`. If the queue is empty, blocks for `timeout` microseconds, or until data becomes available.

If no data is received before the timeout, `NULL` is returned.

#### Parameters

`timeout`

  Type: `guint64`

  The number of microseconds to wait.

#### Return value

Type: `gpointer`

Data from the queue or `NULL`, when no data is received before the timeout.

The data is owned by the instance.
The return value can be `NULL`.