it.idx = try parse_enum(T.Base.Key, starting_at_str, 16);
}
- if (it.idx == null) {
- return error.InvalidIterator;
- }
-
return .{
.res = res,
.view = view,
.per_page = per_page,
.it = it,
- .starting_idx = it.idx.?,
+ .starting_idx = it.idx,
};
}
pub fn next(self: *Self) IterateResult {
server.wait();
while (true) {
const req = (server.next_request(&req_buffer) catch break) orelse break;
- handle_request(env, req) catch {
- try handle_error(env, req);
- };
+ // handle_request(env, req) catch {
+ // try handle_error(env, req);
+ // };
+ try handle_request(env, req);
}
}
// const ThreadCount = 1;