@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
14 lines • 463 B
TypeScript
/** An invocation-owned worker for computations that cannot yield inside their engine. */
export declare class Worker {
private port;
private closing;
private closeSettled;
private closeFailed;
private terminal;
private waiting;
call<T>(name: string, args: readonly unknown[], signal?: AbortSignal): Promise<T>;
close(retry?: boolean): Promise<void>;
private checkReady;
private open;
}
//# sourceMappingURL=worker.d.ts.map