mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 03:34:48 +00:00
This commit is contained in:
@@ -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 = .{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user