makePromise(of:file:line:)

Creates and returns a new EventLoopPromise that will be notified using this EventLoop as execution NIOThread.

EventLoop.swift:1076
func makePromise<T>(of type: T.Type = T.self, file: StaticString = #fileID, line: UInt = #line) -> EventLoopPromise<T>