3 ms·
Not sure how you are getting this conclusion? The example code is as follows: effectCount = effectCount.peek() + 1; That is definitely absolutely clearly 10
by rektide 4y ago
Not sure how you are getting this conclusion? The example code is as follows:
effectCount = effectCount.peek() + 1;
That is definitely absolutely clearly 100% for sure sync code. Adding a numerical value +1 to the result of a function (with no wait on it) makes it clear that .peek() here is synchronously returning a value.
- esprehn 4y agoCorrect, .value does exactly the same thing. The only difference is .value subscribes to updates. The framework is all synchronous (but sometimes lazy).