You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
You cover this a little bit, with the idea of explaining the lifetime of a tasklet and also a hypothetical callback to save (and also load?) state, but I think it's worth getting in front of that as a potential source of confusion.
Here's a question that I have about the hypothetical behavior after reading the spec:
// app.jsconsttasklet1=awaittasklet.addModule('tasklet.js');consttasklet2=awaittasklet.addModule('tasklet.js');// This will log 0.console.log(awaittasklet1.increment());// This will.. also log 0? Or 1?console.log(awaittasklet2.increment());// Will this always log 1 (or 2)? What if a lot of time has// passed and tasklet1 was killed?console.log(awaittasklet1.increment());