Skip to main content

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

Indicates whether the event loop is currently listening for events.

public var isListening: Bool = false

Methods

stopListening()

Stops the event loop by emitting a break event.

public func stopListening(
) throws -> Void