Class Scheduler.DelayedTask<TResult>
Represents a task with delayed completion.
Inherited Members
Namespace: DotNext.Threading
Assembly: DotNext.Threading.dll
Syntax
public abstract class Scheduler.DelayedTask<TResult> : Scheduler.DelayedTask
Type Parameters
Name | Description |
---|---|
TResult | The type of the result produced by this task. |
Properties
| Edit this page View SourceTask
Gets delayed task.
Declaration
public override abstract Task<TResult> Task { get; }
Property Value
Type | Description |
---|---|
Task<TResult> |
Overrides
See Also
Methods
| Edit this page View SourceConfigureAwait(bool)
Configures an awaiter used to await this task.
Declaration
public ConfiguredTaskAwaitable<TResult> ConfigureAwait(bool continueOnCapturedContext)
Parameters
Type | Name | Description |
---|---|---|
bool | continueOnCapturedContext | true to attempt to marshal the continuation back to the original context captured; otherwise, false. |
Returns
Type | Description |
---|---|
ConfiguredTaskAwaitable<TResult> | An awaiter instance. |
GetAwaiter()
Gets an awaiter used to await this task.
Declaration
public TaskAwaiter<TResult> GetAwaiter()
Returns
Type | Description |
---|---|
TaskAwaiter<TResult> | An awaiter instance. |