Required Instance Methodswift-nio 2.81.0NIOCore

triggerUserOutboundEvent(_:promise:)

Trigger a custom user outbound event which will flow through the ChannelPipeline.

ChannelInvoker.swift:93
@preconcurrency func triggerUserOutboundEvent(_ event: Sendable, promise: EventLoopPromise<Void>?)

Parameters

event

The event itself.

promise

the EventLoopPromise that will be notified once the operation completes, or nil if not interested in the outcome of the operation.