Closed lin7sh closed 5 years ago
Sure, so the reason get(p)
is coming back as undefined is because you aren't returning anything in get
. Second, ProcessSystem.run
makes calls that are not to generators into generator calls and for ones that are, it passes them through. So I think get
should be a generator function and you would have to yield
the result from ProcessSystem.run
@bryanjos I updated the to version2, There are 4 console.log marks, only mark1 has shown in the log, It seems like the both receive function never execute,
Dear maintainer of the this project, I'm trying to learn how to use this code by translate the following code into process.js
the following is my attempt
the first comment line log undefined, the second comment line never execute which I think where the problem is, Could you help a look where I did wrong
======= version 2