Method AddBookmarkAsync
AddBookmarkAsync(BookmarkRecord, CancellationToken)
Records that an instance is waiting for a signal.
ValueTask AddBookmarkAsync(BookmarkRecord bookmark, CancellationToken ct)
Parameters
bookmarkBookmarkRecordctCancellationToken
Returns
Remarks
Standalone here, but the engine does not use it that way — a wait has to appear in the same atom as the cursor that describes where it resumes, which is why Bookmarks exists. Inserted separately, a bookmark can outlive a rolled-back checkpoint and wake an instance into a position it never reached.