Required Instance Methodswift-nio 2.72.0NIOCore

    _preconditionSafeToWait(file:line:)

    Must crash if it is not safe to call wait() on an EventLoopFuture.

    EventLoop.swift:335
    func _preconditionSafeToWait(file: StaticString, line: UInt)

    This method is a debugging hook that can be used to override the behaviour of EventLoopFuture.wait() when called. By default this simply becomes preconditionNotInEventLoop, but some EventLoops are capable of more exhaustive checking and can validate that the wait is not occurring on an entire EventLoopGroup, or even more broadly.

    This method should not be called by users directly, it should only be implemented by EventLoop implementers that need to customise the behaviour.

    Other requirements

    View members

    Hide members

    This section is hidden by default because it contains too many (12) members.

    Instance members

    Show implementation details (2)

    Hide implementation details

    Citizens in NIOCore

    Default implementations

    Show implementation details (1)

    Hide implementation details