we need a way to disconnect bad actors clients from the server side with a ctx.disconnect_sender() function that can be called in any reducer or procedure. this is needed because throwing an Error is not always a good option.
like if i want to "ban" a client by inserting it into a ban table, i also need a way to actually disconnect the client i just banned. i can't rely on a client side disconnect flow as the bad actor most likely just removed the flow while inserting the cheats or whatever they did to be banned.
we need a way to disconnect bad actors clients from the server side with a ctx.disconnect_sender() function that can be called in any reducer or procedure. this is needed because throwing an Error is not always a good option.
like if i want to "ban" a client by inserting it into a ban table, i also need a way to actually disconnect the client i just banned. i can't rely on a client side disconnect flow as the bad actor most likely just removed the flow while inserting the cheats or whatever they did to be banned.