NIOEventLoopMetricsDelegate
Implement this delegate to receive information about the EventLoop, such as each tick
protocol NIOEventLoopMetricsDelegate : SendableBrowse conforming typesImplement this delegate to receive information about the EventLoop, such as each tick
protocol NIOEventLoopMetricsDelegate : Sendableimport NIOPosixPlatform-specific implementations of SwiftNIO abstractions for POSIX systems.
protocol Sendable : SendableMetatypeA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
protocol SendableMetatype : ~Copyable, ~EscapableA type whose metatype can be shared across arbitrary concurrent contexts without introducing a risk of data races. When a generic type T conforms to SendableMetatype, its metatype T.Type conforms to Sendable. All concrete types implicitly conform to the SendableMetatype protocol, so its primary purpose is in generic code to prohibit the use of isolated conformances along with the generic type.
func processedTick(info: NIOEventLoopTickInfo) Called after a tick has run This function is called after every tick - avoid long-running tasks here