Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
484 B
Plaintext
16 lines
484 B
Plaintext
import { WebSocketInterface } from "../../types/globals.cjs";
|
|
|
|
//#region src/realtime/utils/message-callback.d.ts
|
|
|
|
/**
|
|
* Wait for a websocket response
|
|
*
|
|
* @param socket WebSocket
|
|
* @param number timeout
|
|
*
|
|
* @returns Incoming message object
|
|
*/
|
|
declare const messageCallback: (socket: WebSocketInterface, timeout?: number) => Promise<Record<string, any> | MessageEvent<string> | undefined>;
|
|
//#endregion
|
|
export { messageCallback };
|
|
//# sourceMappingURL=message-callback.d.cts.map |