22.295. Class TaskRequest
Namespace: ArmoniK.Core.Common.gRPC.Services
Assembly: ArmoniK.Core.Common.dll
Represents a request to create a task, including expected output keys, data dependencies, and payload chunks.
public record TaskRequest : IEquatable<TaskRequest>
22.295.1. Inheritance
22.295.2. Implements
22.295.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.295.4. Constructors
22.295.4.1. TaskRequest(IEnumerable<string>, IEnumerable<string>, IAsyncEnumerable<ReadOnlyMemory<byte>>)
Represents a request to create a task, including expected output keys, data dependencies, and payload chunks.
public TaskRequest(IEnumerable<string> ExpectedOutputKeys, IEnumerable<string> DataDependencies, IAsyncEnumerable<ReadOnlyMemory<byte>> PayloadChunks)
22.295.4.1.1. Parameters
ExpectedOutputKeys IEnumerable<string>
The keys for expected outputs of the task.
DataDependencies IEnumerable<string>
The data dependencies required by the task.
PayloadChunks IAsyncEnumerable<ReadOnlyMemory<byte>>
The payload data for the task, provided as a stream of byte chunks.
22.295.5. Properties
22.295.5.1. DataDependencies
The data dependencies required by the task.
public IEnumerable<string> DataDependencies { get; init; }
22.295.5.1.1. Property Value
22.295.5.2. ExpectedOutputKeys
The keys for expected outputs of the task.
public IEnumerable<string> ExpectedOutputKeys { get; init; }
22.295.5.2.1. Property Value
22.295.5.3. PayloadChunks
The payload data for the task, provided as a stream of byte chunks.
public IAsyncEnumerable<ReadOnlyMemory<byte>> PayloadChunks { get; init; }