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:1416
func assertInEventLoop(file: StaticString = #fileID, line: UInt = #line)