메소드 | 설명 | |
---|---|---|
DisposableAsyncFunction ( Task>.Func |
Instantiates a DisposableAsyncFunction.
|
|
Dispose ( ) : void |
Disposes the IDisposable provided in the constructor.
|
|
InvokeAsync ( |
Invokes the asynchronous function provided in the constructor.
|
public DisposableAsyncFunction ( Task>.Func |
||
asyncFunction | Task>.Func | An asynchronous function. |
disposable | IDisposable | A disposable. |
리턴 | System |
public InvokeAsync ( |
||
token | /// A token to cancel the asynchronous request. /// | |
리턴 | Task |