Skip to content

JobShard.PersistAddJobAsync(DurableJob, CancellationToken)

PersistAddJobAsync(DurableJob, CancellationToken)

abstract
protected abstract Task PersistAddJobAsync(DurableJob job, CancellationToken cancellationToken)
Persists the addition of a new job to the underlying storage.

Parameters

jobDurableJob
The job to persist.
cancellationTokenCancellationToken
A token to cancel the operation.

Returns

A task that represents the asynchronous operation.