API Reference/PrivMX Endpoint C# Extra/Core
AsyncEventQueue
Wrapper for event queue that allows to iterate events asynchronously.
Methods
AsyncEventQueue
Wraps exising event queue into async event queue. It's user responsibility to provide valid event queue.
Params
eventQueue
IEventQueue
Event queue to wrap
DisposeAsync
Stops and disposes event queue.
Returns
async ValueTask
·
WaitEventsAsync
Iterates events until eiter event queue breaks or cancellation token is cancelled.
Params
token
CancellationToken
Returns
async IAsyncEnumerable<Event>
·
Stream of incoming events.
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.
PrivMX Endpoint C# v2.2
This package is not up to date with the core documentation. Some of the features you've seen described in other parts of the documentation might not be mentioned here. Those changes do not influence compatibility, however