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 the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.

PrivMX Endpoint Swift v2.3

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