PrivMX DOCS
API Reference/PrivMX Endpoint Swift Extra/Core

PrivMXEventLoop

PrivMXEventLoop is responsible for asynchronously managing and processing PrivMX events. It acts as an event handler, receiving, parsing, and publishing events on a background loop.

Fields

isListening

Bool Indicates whether the event loop is currently listening for events.

Methods

stopListening()

Stops the event loop by emitting a break event.

public func stopListening(
) throws -> Void

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.

This is documentation for PrivMX v2.2, which is no longer actively maintained.

For up-to-date documentation, go to latest here
PrivMXEventLoop | PrivMX Docs