finishing record io

This commit is contained in:
Dmitry Vasilev
2023-02-14 18:03:10 +08:00
parent 6c82e78a0f
commit e7d4fce372
10 changed files with 130 additions and 96 deletions

View File

@@ -33,8 +33,8 @@ const gen_to_promise = gen_fn => {
const do_run = function*(module_fns, cxt, io_cache){
let calltree
cxt = io_cache == null
// TODO move all io_cache properties to the object?
cxt = (io_cache == null || io_cache.length == 0)
// TODO group all io_cache_ properties to single object?
? {...cxt,
io_cache_is_recording: true,
io_cache: [],