23.294. 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>
23.294.1. Inheritance
23.294.2. Implements
23.294.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
23.294.4. Constructors
23.294.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)
23.294.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.
23.294.5. Properties
23.294.5.1. DataDependencies
The data dependencies required by the task.
public IEnumerable<string> DataDependencies { get; init; }
23.294.5.1.1. Property Value
23.294.5.2. ExpectedOutputKeys
The keys for expected outputs of the task.
public IEnumerable<string> ExpectedOutputKeys { get; init; }
23.294.5.2.1. Property Value
23.294.5.3. PayloadChunks
The payload data for the task, provided as a stream of byte chunks.
public IAsyncEnumerable<ReadOnlyMemory<byte>> PayloadChunks { get; init; }