From e127d9976e76a0c76bd40768e6bff006a8c63c29 Mon Sep 17 00:00:00 2001 From: Yoshifumi Kawai Date: Mon, 25 Oct 2021 22:51:58 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.