···8686 }
87878888 /// returns an event if one is available, otherwise null. Non-blocking.
8989- pub fn tryEvent(self: *Self) ?T {
9090- return self.queue.tryPop();
8989+ pub fn tryEvent(self: *Self) !?T {
9090+ return try self.queue.tryPop();
9191 }
92929393 /// posts an event into the event queue. Will block if there is not