carlo
carlo copied to clipboard
rpc.md example hangs
- I've created 3 files described in rpc.md#example.
- I've replaced requiring with these lines:
const { rpc } = require('carlo/rpc');
const { rpc_process } = require('carlo/rpc');
- I've fixed this typo in
family.js
(see https://github.com/GoogleChromeLabs/carlo/pull/62):
- const ordinal = this.children_.length;
+ const ordinal = this.children.length;
- I've run the
main.js
and, after this output, the script stuck with no errors or progress:
Adding child #0
Adding child #1
Have I done something wrong?
Hm. This is what I get:
Adding child #0
Adding child #1
I am #0 and I have a sibling #1
I am #1 and I have a sibling #0
I am #1 and my sibling #0 is saying hello
I am #0 and my sibling #1 is saying hello
I've checked on Windows 7 x64 with Node.js 08.12.0, 10.13.0, 11.1.0, 12.0.0 nightly and v8-canary + carlo 0.9.15. All variations hang. Can anybody reproduce?
Same as @vsemozhetbyt
Adding child #0
Adding child #1
Script stuck