init(wrappingChannelSynchronously:configuration:)

Initializes a new NIOAsyncChannel wrapping a Channel where the outbound type is Never.

AsyncChannel.swift:130
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
init(wrappingChannelSynchronously channel: any Channel, configuration: NIOAsyncChannel<Inbound, Outbound>.Configuration = .init()) throws where Outbound == Never

Parameters

channel

The Channel to wrap.

configuration

The NIOAsyncChannels configuration.

This initializer will finish the outbound immediately.