cdp: remove send sync

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-10-21 18:29:10 +02:00
parent 20dd140c31
commit 8508c21080
4 changed files with 5 additions and 14 deletions

View File

@@ -225,8 +225,7 @@ pub fn sendEvent(
const resp = Resp{ .method = name, .params = params, .sessionId = sessionID };
const event_msg = try stringify(alloc, resp);
defer alloc.free(event_msg);
try server.sendSync(ctx, event_msg);
try server.sendAsync(ctx, event_msg);
}
fn getParams(