axl_bool vortex_pull_pending_events ( VortexCtx ctx)

Allows to check if there are pending events in the queue.

This function is useful in the case the caller want to be not blocked on the next call to vortex_pull_next_event.

Parameters
ctxThe context with PULL API activated, where pending events will be checked.
Returns
axl_true in the case pending events are waiting to be read; otherwise axl_false is returned.

References vortex_async_queue_items(), and vortex_ctx_get_data().