Method Bookmark
- Namespace
- Millrace.Storage.Verification
- Assembly
- Millrace.Storage.Verification.dll
Bookmark(TimeProvider, WorkflowInstanceId, string, string)
Builds a bookmark waiting on a named signal for one correlation id.
protected static BookmarkRecord Bookmark(TimeProvider time, WorkflowInstanceId instanceId, string signalName = "approval", string correlationId = "order-1")
Parameters
timeTimeProviderinstanceIdWorkflowInstanceIdsignalNamestringcorrelationIdstring
Returns
Remarks
The defaults collide on purpose: two bookmarks built without overriding them match the same signal, which is what the at-most-once facts need in order to prove that delivering it resumes exactly one instance.