     public typealias OutboundOut = NIOAny
 
     ///A user event triggered by IdleStateHandler when a Channel is idle.
-    public enum IdleStateEvent {
+    public enum IdleStateEvent: NIOSendable {
         /// Will be triggered when no write was performed for the specified amount of time
         case write
         /// Will be triggered when no read was performed for the specified amount of time

        context.read()
    }
}

/**
 ChannelHandler implementation which enforces back-pressure by stopping to read from the remote peer when it cannot write back fast enough.

    }
}

#if swift(>=5.7)
@available(*, unavailable)
extension BackPressureHandler: Sendable {}
#endif

/// Triggers an IdleStateEvent when a Channel has not performed read, write, or both operation for a while.
public final class IdleStateHandler: ChannelDuplexHandler, RemovableChannelHandler {
    public typealias InboundIn = NIOAny
