From f050991ea9483cabd430ea0b1903e45a0c6e794b Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Wed, 17 Jan 2024 19:20:01 +0000 Subject: [PATCH] [GitHub Actions] Updated ubuntu-20.04 binaries --- index.d.ts | 2 ++ source_commit | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 6b3c4fe8..30d328d7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -250,6 +250,8 @@ export interface WebSocketBehavior { open?: (ws: WebSocket) => void | Promise; /** Handler for a WebSocket message. Messages are given as ArrayBuffer no matter if they are binary or not. Given ArrayBuffer is valid during the lifetime of this callback (until first await or return) and will be neutered. */ message?: (ws: WebSocket, message: ArrayBuffer, isBinary: boolean) => void | Promise; + /** Handler for a dropped WebSocket message. Messages can be dropped due to specified backpressure settings. Messages are given as ArrayBuffer no matter if they are binary or not. Given ArrayBuffer is valid during the lifetime of this callback (until first await or return) and will be neutered. */ + dropped?: (ws: WebSocket, message: ArrayBuffer, isBinary: boolean) => void | Promise; /** Handler for when WebSocket backpressure drains. Check ws.getBufferedAmount(). Use this to guide / drive your backpressure throttling. */ drain?: (ws: WebSocket) => void; /** Handler for close event, no matter if error, timeout or graceful close. You may not use WebSocket after this event. Do not send on this WebSocket from within here, it is closed. */ diff --git a/source_commit b/source_commit index 706c3978..6f187cfd 100644 --- a/source_commit +++ b/source_commit @@ -1 +1 @@ -103f6ff03c250f38f30322ea81c2d66739d6f10a +c7927e03341009155a3d5acdddbdc51791155516