char/avril

(wip) why'd you have to go and make things so complicaaaaated?

git clone https://git.t4t.associates/char/avril

Charlotte Somport workers extension to typescriptb7bd857

main
567 B15 linesraw
1declare module "ext:core/ops" {
2  export function op_worker_base(): string;
3  export function op_worker_close(): null;
4  export function op_worker_create(
5    args: [
6      specifier: string,
7      referrer: string,
8      name: string,
9      restrictions: import("../../base/src/pledge.js").PledgeRow[],
10    ],
11  ): [id: number, portId: number];
12  export function op_worker_metadata(): [portId: number, url: string, name: string] | null;
13  export function op_worker_terminate(id: number): null;
14  export function op_worker_wait(id: number): Promise<string | null>;
15}