Interface IJobsClient
Namespace: IndicoV2-Jobs
Assembly: IndicoV2-Abstractions-dll
public interface IJobsClient
Methods
Task<string> GetFailureReasonAsync(string jobId)
Parameters
jobId
string
Returns
Task[string](https://learn-microsoft-com/dotnet/api/system-string)\
Gets Job's result
[Obsolete("Use generic version of this method-")]
Task<JToken> GetResultAsync(string jobId, CancellationToken cancellationToken = default)
Parameters
jobId
string
Job's Id
cancellationToken
CancellationToken
for handling cancellation of asynchronous operations-
Returns
Task<JToken>
Job result
Gets Job's result
Task<TResult> GetResultAsync<TResult>(string jobId, CancellationToken cancellationToken = default)
Parameters
jobId
string
Job's Id
cancellationToken
CancellationToken
for handling cancellation of asynchronous operations-
Returns
Task<TResult>
Job result
Type Parameters
TResult
Gets Job's status
Task<JobStatus> GetStatusAsync(string jobId, CancellationToken cancellationToken = default)
Parameters
jobId
string
Job's Id
cancellationToken
CancellationToken
for handling cancellation of asynchronous operations-
Returns
Job's Status
Updated 10 months ago