assertNotInEventLoop(file:line:)

    Asserts that the current thread is not 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:1094
    func assertNotInEventLoop(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