removeHandler(context:)

Remove a ChannelHandler from the ChannelPipeline.

ChannelPipeline.swift:385

This declaration is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.

func removeHandler(context: ChannelHandlerContext) -> EventLoopFuture<Void>

Parameters

context

the ChannelHandlerContext that belongs to ChannelHandler that should be removed.

Returns

the EventLoopFuture which will be notified once the ChannelHandler was removed.