write(contentsOf:)

Send an asynchronous sequence of writes into the ChannelPipeline.

AsyncChannelOutboundWriter.swift:147
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
func write<Writes>(contentsOf sequence: Writes) async throws where OutboundOut == Writes.Element, Writes : AsyncSequence

This will flush after every write.

This method suspends if the underlying channel is not writable and will resume once the it becomes writable again.