This commit is contained in:
2025-12-28 22:17:17 +00:00
parent 50870da1d9
commit 18f4475aaf
2 changed files with 2 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ pub const ClientState = struct {
}
/// Return true if the value was put in the clients buffer to process, else false.
pub fn send(self: *ClientState, io: std.Io, msg: Message) std.Io.Cancelable!bool {
pub fn send(self: *ClientState, io: std.Io, msg: Message) (std.Io.Cancelable||std.Io.QueueClosedError)!bool {
try self.recv_queue.putOne(io, msg);
return true;
}