Protocolswift-nio 2.72.0NIOCore
NIOSerialEventLoopExecutor
A helper protocol that can be mixed in to a NIO EventLoop
to provide an automatic conformance to SerialExecutor
.
- iOS
- 17.0+
- macOS
- 14.0+
- tvOS
- 17.0+
- watchOS
- 10.0+
protocol NIOSerialEventLoopExecutor : EventLoop, SerialExecutor
Implementers of EventLoop
should consider conforming to this protocol as well on Swift 5.9 and later.
Supertypes
protocol EventLoop
An EventLoop processes IO / tasks in an endless loop for
Channel
s until it’s closed.protocol EventLoopGroup
Provides an endless stream of
EventLoop
s to use.protocol Executor
A service that can execute jobs.
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
protocol SerialExecutor
A service that executes jobs.