Type Property
shared
A process-wide shared event loop.
static let shared: EventLoop
Mentioned In
Discussion
Initialized lazily on first access and retained for the lifetime of the process. Use this when you have no reason to prefer an isolated loop. For tests that want freshness or subsystems that want independence, create a fresh EventLoop().