init(synchronouslyWrapping:configuration:)

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

    AsyncChannel.swift:190

    This declaration has been renamed to init(wrappingChannelSynchronously:configuration:).

    This declaration is deprecated: This method has been deprecated since it defaults to deinit based resource teardown

    init(synchronouslyWrapping channel: Channel, configuration: Configuration = .init()) throws where Outbound == Never

    Parameters

    channel

    The Channel to wrap.

    configuration

    The NIOAsyncChannels configuration.

    This initializer will finish the outbound immediately.

    Other members in extension

    Types

    Type members

    Show implementation details (1)

    Hide implementation details

    Show obsolete interfaces (2)

    Hide obsolete interfaces

    Instance members

    Show obsolete interfaces (2)

    Hide obsolete interfaces