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

@@ -33,8 +33,7 @@
// internet connectivity.
.dependencies = .{
.yazap = .{
.url = "git+https://github.com/prajwalch/yazap#a920616e3a6676362735a2f5ae195ec320f058fb",
.hash = "yazap-0.6.3-Z1t-Emb0AQD_SkYf4dz_nEmAh9oRKiu6nexSJMGK3wcf",
.path = "../yazap",
},
},
.paths = .{

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;
}