Method EnqueueOneAsync
- Namespace
- Millrace.Storage.Verification
- Assembly
- Millrace.Storage.Verification.dll
EnqueueOneAsync(IJobStorage, JobRecord)
Enqueues one job and reads it back as the provider stored it.
protected static Task<JobRecord> EnqueueOneAsync(IJobStorage storage, JobRecord record)
Parameters
storageIJobStoragerecordJobRecord
Returns
Remarks
Returns the stored record rather than the one passed in, so a fact asserts on what the provider persisted rather than on what it was handed — which is where the two disagree.