Class
AsyncTaskMethodBuilder<T>
class AsyncTaskMethodBuilder<T>
Module: System.Runtime.CompilerServices
Assembly: System.Runtime.dll
Source file: Tasks.rvn
Inheritance: Object → AsyncTaskMethodBuilder<T>
Temporary reference-type builder sharing completion and suspended-state ownership.
Type parameters
| Name | Description |
|---|---|
T |
Task result payload. |
Remarks
Compiler support, not a permanent application abstraction. The importer specializes ref startup and await registration for admitted non-generic state machines. The existing heap policy remains the default. See the async builder guide for limits and ownership.
Constructors
1 item
AsyncTaskMethodBuilder(queue: TaskQueue)
Creates completion storage using the selected dispatcher.
Properties
1 item
Task: Task<T>
Gets the task representing this builder's completion.
Methods
12 items
AwaitOnCompleted(awaiter: TaskAwaiter, stateMachine: AsyncStateMachine) -> ()
No summary available.
Static member:
Create() -> AsyncTaskMethodBuilder<T>
Creates a builder using the current TaskQueue.
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetStateMachine() -> AsyncStateMachine
Gets the retained state owner.
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
HasStateMachine() -> bool
Tests whether a suspended state owner has already been retained.
SetCancelled() -> ()
Releases the retained state and cancels the task.
SetResult(value: T) -> ()
Releases the retained state and completes the task with a value.
SetStateMachine(stateMachine: AsyncStateMachine) -> ()
Retains the state owner used by pending continuations.
Start(stateMachine: AsyncStateMachine) -> ()
No summary available.
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString