int vortex_pull_pending_events_num ( VortexCtx ctx)

Allows to get the number of pending events to be read.

Parameters
ctxThe context with PULL API activated, where pending events will be checked.
Returns
The number of pending events to be read. The function return -1 if it fails to get number of items stored.

References vortex_async_queue_items(), and vortex_ctx_get_data().