New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about onStart execution order #111
Comments
The That leaves the detail of when The reason for that implementation detail is that if |
@kitten Thanks for the explanation! I was using I hope this issue will be of benefit for other users, but an entry in the docs (time permitting) would be appreciated. Thanks for the hard work on this library! |
Yep, in
The |
Thanks! What i did, is adding a condition for setting |
yea, sounds good 👍 I'll close this for now, since I think the question itself is addressed. The problems here and ambition is basically always with synchronous streams. The synchronous support in Wonka allows us to apply some nice tricks in urql, but that does come with some caveats. Synchronous events are just very different from asynchronous as it'll always deal with an exact order. |
In the following example I was expecting "onStart" callback to be invoked first, but noticed it was run last:
https://codepen.io/ejez/pen/NWjWBoJ
result:
From the docs:
Many thanks.
The text was updated successfully, but these errors were encountered: