signal-desktop/ts/shims/socketStatus.ts
2020-09-21 15:42:51 -04:00

5 lines
148 B
TypeScript

export function getSocketStatus(): number {
const { getSocketStatus: getMessageReceiverStatus } = window;
return getMessageReceiverStatus();
}