NewWriter

Simple struct for the return type of makeWriter(elementType:isWritable:delegate:).

NIOAsyncWriter.swift:143
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
struct NewWriter

This struct contains two properties:

  1. The sink which should be retained by the consumer and is used to set the writability.

  2. The writer which is the actual NIOAsyncWriter and should be passed to the producer.