Fancy name to come...
Idea is we write out files in the execution folder to document the execution. Each file is written once and by reading everything sorted by timestamp we can construct the full execution sequence
-
Enqueue task /
- content.ts
- meta.json - cellId/timestamp
-
Logs /.log log entries at timestamp - might be batched so each line has authoritative timestemp
-
Results /.json
- data (exports) synchronous exports available after execution
- error error thrown during execution
- resolved default promise export resolved
- rejected default promise export rejected
- observable? stream of updates