mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-23 16:20:21 +00:00
Update README.md
This commit is contained in:
@@ -858,9 +858,9 @@ rp.WithoutCurrent().BindTo(this.textComponent);
|
|||||||
|
|
||||||
await rp.WaitAsync(); // wait until next value set
|
await rp.WaitAsync(); // wait until next value set
|
||||||
|
|
||||||
// also exists ToReadOnlyReactiveProperty
|
// also exists ToReadOnlyAsyncReactiveProperty
|
||||||
var rp2 = new AsyncReactiveProperty<int>(99);
|
var rp2 = new AsyncReactiveProperty<int>(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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user