assertInEventLoop(file:line:)

    Asserts that the current thread is the one tied to this EventLoop. Otherwise, if running in debug mode, the process will be abnormally terminated as per the semantics of preconditionFailure(_:file:line:). Never has any effect in release mode.

    EventLoop.swift:1082
    func assertInEventLoop(file: StaticString = #fileID, line: UInt = #line)

    Other members in extension

    Instance members

    Show implementation details (3)

    Hide implementation details

    Show obsolete interfaces (2)

    Hide obsolete interfaces