Lazy plugs (#596)

* Manifest caching and lazy loading of plug workers
* Fixes #546 Plug unloading after time out
This commit is contained in:
Zef Hemel
2023-12-06 18:44:48 +01:00
committed by GitHub
parent 8451680c01
commit 8527528af4
16 changed files with 226 additions and 67 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export function spaceSyscalls(space: Space): SysCallMapping {
"space.deletePage": async (_ctx, name: string) => {
await space.deletePage(name);
},
"space.listPlugs": (): Promise<string[]> => {
"space.listPlugs": (): Promise<FileMeta[]> => {
return space.listPlugs();
},
"space.listAttachments": async (): Promise<AttachmentMeta[]> => {