removeHandler(context:)
Remove a ChannelHandler
from the ChannelPipeline
.
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 toChannelHandler
that should be removed.
Returns
the EventLoopFuture
which will be notified once the ChannelHandler
was removed.