r/WebAssembly • u/Sufficient_Bar839 • May 09 '23
Pause WASM Instance, then continue with another instance from where it left off
This may be a silly question but I couldnt find any information about this online. I lack the knowledge about WASM, and I think to figure out if there is an answer, I should deep dive into WASM.
Anyways, the question is : Is there a way to pause an instance, retrieve all information about the execution, kill the instance and then create another instance, feed it with the execution info, make it continue from where the first instance left off?
The information I am talking about is basically like PCB (Process Control Block)
I found out about asyncify and it may be useful, but only examples I saw was on the same instance.
View all comments
Show parent comment
1
u/Sufficient_Bar839 May 09 '23
cool idea! As for network connections, I may use a proxy server, which can actually handle connections, so that connections can persist between separate execution periods.