Initial commit
This commit is contained in:
5
node_modules/worker-timers-broker/src/guards/call-notification.ts
generated
vendored
Executable file
5
node_modules/worker-timers-broker/src/guards/call-notification.ts
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
import { ICallNotification, TWorkerMessage } from 'worker-timers-worker';
|
||||
|
||||
export const isCallNotification = (message: TWorkerMessage): message is ICallNotification => {
|
||||
return (<ICallNotification>message).method !== undefined && (<ICallNotification>message).method === 'call';
|
||||
};
|
||||
Reference in New Issue
Block a user