UNPKG

@nori-zk/mina-token-bridge

Version:

A Mina zk-program contract allowing users to mint tokens on Nori Bridge.

12 lines (11 loc) 427 B
import { WorkerParentChildInterface } from '../index.js'; export declare class WorkerParent implements WorkerParentChildInterface { private worker; private deferedReady; constructor(worker: Worker); ready(): Promise<void>; call(data: string): Promise<void>; onMessageHandler(callback: (response: string) => void): void; onErrorHandler(callback: (error: any) => void): void; terminate(): void; }