tanaid-tcl 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/dist/index.d.mts CHANGED
@@ -6,22 +6,14 @@ interface InterpreterOptions {
6
6
  setTimeout: (callback: () => void, delayMs: number) => unknown;
7
7
  clearTimeout: (timeoutId: unknown) => void;
8
8
  handleEventLoopStatus: (pendingTimers: number) => void;
9
- /**
10
- * Where Tk draws. A worker can only be handed an `OffscreenCanvas`, so the
11
- * page transfers one before running anything that might draw.
12
- */
13
- canvas?: OffscreenCanvas | undefined;
14
9
  }
15
10
  declare class Interpreter {
16
11
  private constructor();
17
12
  free(): void;
18
13
  [Symbol.dispose](): void;
19
14
  static create(options: InterpreterOptions): Interpreter;
15
+ runEventLoop(): Promise<void>;
20
16
  run(src: string): Promise<any>;
21
- /**
22
- * The size of the widget the script mapped, if it opened a window.
23
- */
24
- windowSize(): Uint32Array | undefined;
25
17
  }
26
18
  //#endregion
27
19
  //#region src/index.d.ts