From 633c92eae865e957121e08de634aeee11a8b3992 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Mon, 24 Apr 2023 14:03:36 +0200 Subject: Updated 18 files, added 1692 files and deleted includes/system/compare.inc (automated) --- .../matrix-js-sdk/lib/realtime-callbacks.d.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 includes/external/matrix/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts') diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts new file mode 100644 index 0000000..e2d4f45 --- /dev/null +++ b/includes/external/matrix/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts @@ -0,0 +1,18 @@ +/** + * reimplementation of window.setTimeout, which will call the callback if + * the wallclock time goes past the deadline. + * + * @param func - callback to be called after a delay + * @param delayMs - number of milliseconds to delay by + * + * @returns an identifier for this callback, which may be passed into + * clearTimeout later. + */ +export declare function setTimeout(func: (...params: any[]) => void, delayMs: number, ...params: any[]): number; +/** + * reimplementation of window.clearTimeout, which mirrors setTimeout + * + * @param key - result from an earlier setTimeout call + */ +export declare function clearTimeout(key: number): void; +//# sourceMappingURL=realtime-callbacks.d.ts.map \ No newline at end of file -- cgit