UniTask
Show / Hide Table of Contents

AsyncReactiveProperty<T> Class

Namespace: Cysharp.Threading.Tasks
Assembly: cs.temp.dll.dll
[Serializable]
public class AsyncReactiveProperty<T> : IAsyncReactiveProperty<T>, IReadOnlyAsyncReactiveProperty<T>, IUniTaskAsyncEnumerable<T>, IDisposable
Inheritance
System.Object → AsyncReactiveProperty<T>
Implements
IAsyncReactiveProperty<T>
IReadOnlyAsyncReactiveProperty<T>
IUniTaskAsyncEnumerable<T>
System.IDisposable

Type Parameters

T

Members

Constructors

Name Description
AsyncReactiveProperty(T)

Properties

Name Description
Value

Methods

Name Description
Dispose()
GetAsyncEnumerator(CancellationToken)
ToString()
WaitAsync(CancellationToken)
WithoutCurrent()

Operators

Name Description
Implicit(AsyncReactiveProperty<T> to T)

Constructors

AsyncReactiveProperty(T)

public AsyncReactiveProperty(T value)
Parameters
value T

Properties

Value

public T Value { get; set; }
Property Value
T

Methods

Dispose()

public void Dispose()

GetAsyncEnumerator(CancellationToken)

public IUniTaskAsyncEnumerator<T> GetAsyncEnumerator(CancellationToken cancellationToken)
Parameters
cancellationToken CancellationToken
Returns
IUniTaskAsyncEnumerator<T>

ToString()

public override string ToString()
Returns
System.String
Overrides
System.Object.ToString()

WaitAsync(CancellationToken)

public UniTask<T> WaitAsync(CancellationToken cancellationToken = null)
Parameters
cancellationToken CancellationToken
Returns
UniTask<T>

WithoutCurrent()

public IUniTaskAsyncEnumerable<T> WithoutCurrent()
Returns
IUniTaskAsyncEnumerable<T>

Operators

Implicit(AsyncReactiveProperty<T> to T)

public static implicit operator T(AsyncReactiveProperty<T> value)
Parameters
value AsyncReactiveProperty<T>
Returns
T

Implements

IAsyncReactiveProperty<T>
IReadOnlyAsyncReactiveProperty<T>
IUniTaskAsyncEnumerable<T>
System.IDisposable
Back to top Copyright © Cysharp, Inc. | Generated by DocFX