From 2a23a85cdd0215a881960a18b044ea76b20bb227 Mon Sep 17 00:00:00 2001 From: Yoshifumi Kawai Date: Tue, 26 Oct 2021 00:31:02 +0900 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1278ac8..fb78712 100644 --- a/README.md +++ b/README.md @@ -860,7 +860,7 @@ await rp.WaitAsync(); // wait until next value set // also exists ToReadOnlyAsyncReactiveProperty var rp2 = new AsyncReactiveProperty(99); -var rorp = rp.CombineLatest(rp2, (x, y) => (x, y)).ToReadOnlyAsyncReactiveProperty(); +var rorp = rp.CombineLatest(rp2, (x, y) => (x, y)).ToReadOnlyAsyncReactiveProperty(CancellationToken.None); ``` 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.