Table of Contents

Property ExpectedWorkerId

Namespace
Millrace.Storage
Assembly
Millrace.dll

ExpectedWorkerId

The worker the caller believes holds the claim.

public required string ExpectedWorkerId { get; init; }

Property Value

string

Remarks

Part of the fence described above. A worker whose lease expired and whose job was reclaimed elsewhere fails this check and writes nothing, rather than overwriting the outcome recorded by whoever holds the job now.