diff options
-rw-r--r-- | tvix/eval/docs/vm-loop.md | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tvix/eval/docs/vm-loop.md b/tvix/eval/docs/vm-loop.md index bbe02a0866e5..6266d34709cb 100644 --- a/tvix/eval/docs/vm-loop.md +++ b/tvix/eval/docs/vm-loop.md @@ -200,21 +200,21 @@ suspension (as a result of which control is returned to the outer loop), or until the generator is done and yields a value. ``` - ┏━━━━━━━━━━━━━┓ [Done] + ┏━━━━━━━━━━━━━┓ ◄──┨ return true ┃ ◄───────────────────╮ ┗━━━━━━━━━━━━━┛ │ │ - │ + [Done] │ ╭──────────────────┴─────────╮ - ╭───────┤ inspect generator response │ - │ ╰──────────────────┬─────────╯ - ┏━━━━━━━━┷━━━━━━━━┓ │ -──►┃ gen.resume(msg) ┃ │[Yielded] - ┗━━━━━━━━━━━━━━━━━┛ │ - ▲ ╭──────┴─────╮ - │ [yes] │ same-frame │ - ╰───────────────────┤ request? │ - ╰──────┬─────╯ + │ inspect generator response │◄────────────╮ + ╰──────────────────┬─────────╯ │ + [yielded] │ ┏━━━━━━━━┷━━━━━━━━┓ + │ ┃ gen.resume(msg) ┃◄── + ▼ ┗━━━━━━━━━━━━━━━━━┛ + ╭────────────╮ ▲ + │ same-frame │ │ + │ request? ├────────────────╯ + ╰─────┬──────╯ [yes] ┏━━━━━━━━━━━━━━┓ │ ◄──┨ return false ┃ ◄──────────────────╯ ┗━━━━━━━━━━━━━━┛ [no] |