This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Rx.spawn doesn't work #700
Comments
This isn't actually. I got it. Will be better if |
@mattpodwysocki I proposed pull request to co but it was rejected https://github.com/xgrommx/co/blob/master/index.js#L121. Reason - an observable isn't standard yet. |
What is the expected behavior, though? Does Rx work at all? The docs have the example in the OP and suggest rx.spawn returns an observable, but this doesn't seem to be the case - it returns undefined for me and doesn't execute at all if I use Rx.Observable.just in the first yield, and if I remove that and try yielding promises or values I get the following error, regardless of what it tries to return:
Error (running the above in either a node environment with regenerator, or in iojs):
|
mattpodwysocki
added a commit
that referenced
this issue
Jul 22, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello @mattpodwysocki. I tried use this example, but this example doesn't work:
The text was updated successfully, but these errors were encountered: