finish

    Finishes the sink which will result in the NIOAsyncWriter being finished.

    NIOAsyncWriter.swift:401
    iOS
    13+
    macOS
    10.15+
    tvOS
    13+
    watchOS
    6+
    func finish()

    Calling this function signals the writer that any suspended or subsequent calls to yield(contentsOf:) or yield(_:) will return a alreadyFinished(file:line:) error.

    Other members in extension

    Instance members