writeAndFlush(_:)

    Shortcut for calling write and flush.

    AsyncAwaitSupport.swift:85
    iOS
    13+
    macOS
    10.15+
    tvOS
    13+
    watchOS
    6+
    func writeAndFlush<T>(_ any: T) async throws

    Parameters

    data

    the data to write

    promise

    the EventLoopPromise that will be notified once the write operation completes, or nil if not interested in the outcome of the operation.

    Other members in extension

    Instance members