Created
January 10, 2024 08:20
-
-
Save wms/c1cc3e500567654afa3fffd07c24f606 to your computer and use it in GitHub Desktop.
Output of running Effect Inspector against example program
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** { | |
type: 'OP_START', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
op: [GeneratorFunction: MainFn] | |
} | |
start | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 0, | |
instruction: [Function: Spawn] | |
} | |
*** { | |
type: 'CREATE_CHILD', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
child: Object [Frame] { | |
id: 4, | |
context: {}, | |
getTask: [Function (anonymous)] | |
} | |
} | |
*** { | |
type: 'OP_START', | |
frame: Object [Frame] { | |
id: 4, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
op: [GeneratorFunction: Hello] | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 4, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 0, | |
instruction: [Function: Action] | |
} | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 0, | |
result: Object [Task] {} | |
} | |
*** { | |
type: 'INSTRUCTION_FRAME', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 0, | |
child: Object [Frame] { | |
id: 4, | |
context: {}, | |
getTask: [Function (anonymous)] | |
} | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 1, | |
instruction: [Function: Spawn] | |
} | |
*** { | |
type: 'CREATE_CHILD', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
child: Object [Frame] { | |
id: 6, | |
context: {}, | |
getTask: [Function (anonymous)] | |
} | |
} | |
*** { | |
type: 'OP_START', | |
frame: Object [Frame] { | |
id: 6, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
op: [GeneratorFunction: World] | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 6, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 0, | |
instruction: [Function: Action] | |
} | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 1, | |
result: Object [Task] {} | |
} | |
*** { | |
type: 'INSTRUCTION_FRAME', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 1, | |
child: Object [Frame] { | |
id: 6, | |
context: {}, | |
getTask: [Function (anonymous)] | |
} | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 2, | |
instruction: [Function: Action] | |
} | |
*** { | |
type: 'CREATE_CHILD', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
child: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
} | |
} | |
*** { | |
type: 'OP_START', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
op: [GeneratorFunction (anonymous)] | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 0, | |
instruction: [Function: Spawn] | |
} | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 0, | |
result: Object [Task] {} | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 1, | |
instruction: [Function: Spawn] | |
} | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 1, | |
result: Object [Task] {} | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 2, | |
instruction: [Function: Action] | |
} | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 4, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 0, | |
result: undefined | |
} | |
hello | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 2, | |
result: undefined | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 3, | |
instruction: [Function: Action] | |
} | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 6, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 0, | |
result: undefined | |
} | |
world | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)] | |
}, | |
seq: 3, | |
result: undefined | |
} | |
*** { | |
type: 'INSTRUCTION', | |
frame: Object [Frame] { | |
id: 8, | |
context: {}, | |
getTask: [Function (anonymous)], | |
aborted: true | |
}, | |
seq: 4, | |
instruction: [Function: Suspend] | |
} | |
*** { | |
type: 'INSTRUCTION_RESULT', | |
frame: Object [Frame] { | |
id: 1, | |
context: { exit: [Function: resolve] }, | |
getTask: [Function (anonymous)], | |
createChild: [Function (anonymous)] | |
}, | |
seq: 2, | |
result: [ undefined, undefined ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment