initial async processes implementation - not finished
This commit is contained in:
@@ -107,3 +107,10 @@ export class Shell {
|
||||
return Shell.#instance;
|
||||
}
|
||||
}
|
||||
|
||||
export interface ShellEventMap {
|
||||
process: { pid: number; name: string };
|
||||
stdout: { pid: number; data: Uint8Array };
|
||||
stderr: { pid: number; data: Uint8Array };
|
||||
result: { pid: number; result: Result<ShellError> };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user