wallet-core/src/crypto/cryptoWorker.ts

8 lines
151 B
TypeScript
Raw Normal View History

2019-08-16 15:03:52 +02:00
export interface CryptoWorker {
postMessage(message: any): void;
2016-02-19 00:49:22 +01:00
2019-08-16 15:03:52 +02:00
terminate(): void;
2016-02-19 00:49:22 +01:00
2019-08-16 15:03:52 +02:00
onmessage: (m: any) => void;
onerror: (m: any) => void;
}