diff --git a/README.md b/README.md index 3cfb80b..1278ac8 100644 --- a/README.md +++ b/README.md @@ -858,9 +858,9 @@ rp.WithoutCurrent().BindTo(this.textComponent); await rp.WaitAsync(); // wait until next value set -// also exists ToReadOnlyReactiveProperty +// also exists ToReadOnlyAsyncReactiveProperty var rp2 = new AsyncReactiveProperty(99); -var rorp = rp.CombineLatest(rp2, (x, y) => (x, y)).ToReadOnlyReactiveProperty(); +var rorp = rp.CombineLatest(rp2, (x, y) => (x, y)).ToReadOnlyAsyncReactiveProperty(); ``` A pull-type asynchronous stream does not get the next values until the asynchronous processing in the sequence is complete. This could spill data from push-type events such as buttons.