Currently, we only support WASI modules with a main that expose wasmf__start. However, WASI also has a "reactor pattern," whereby a module might export multiple functions and the runtime has to call wasmf__init manually. This potentially allows for a nanoprocess to be retained in memory, "kept warm," and used for several function invocations.
Currently, we only support WASI modules with a main that expose
wasmf__start. However, WASI also has a "reactor pattern," whereby a module might export multiple functions and the runtime has to callwasmf__initmanually. This potentially allows for ananoprocessto be retained in memory, "kept warm," and used for several function invocations.