NIOEventLoopMetricsDelegate

Implement this delegate to receive information about the EventLoop, such as each tick

SelectableEventLoop.swift:82
protocol NIOEventLoopMetricsDelegate : Sendable
Browse conforming types

Supertypes

  • protocol Sendable

    A 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

    A 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.

Requirements

Instance members