Instance Method (Default implementation)swift-nio 2.84.0NIOCore
asUnownedSerialExecutor
EventLoop+SerialExecutor.swift:37- iOS
- 17.0+
- macOS
- 14.0+
- tvOS
- 17.0+
- watchOS
- 10.0+
func asUnownedSerialExecutor() -> UnownedSerialExecutor
func asUnownedSerialExecutor() -> UnownedSerialExecutor
s7NIOCore26NIOSerialEventLoopExecutorPAAE015asUnownedSerialE0SceyF
What are these?34K0J
import NIOCore
The core abstractions that make up SwiftNIO.
protocol NIOSerialEventLoopExecutor : EventLoop, SerialExecutor
A helper protocol that can be mixed in to a NIO EventLoop
to provide an automatic conformance to SerialExecutor
.
@frozen struct UnownedSerialExecutor
An unowned reference to a serial executor (a SerialExecutor
value).
func asUnownedSerialExecutor() -> UnownedSerialExecutor
Convert this executor value to the optimized form of borrowed executor references.
var executor: any SerialExecutor { get }
func checkIsolated()
func enqueue(_ job: consuming ExecutorJob)
func isSameExclusiveExecutionContext(other: Self) -> Bool