Class UndoPrompt

Assembly: redb.Identity.Web.dll

One in-flight undo prompt — message, expected duration, and the
completion source the service resolves when the verdict is in.

public sealed record UndoPrompt : IEquatable<UndoPrompt>

Inheritance

Object→UndoPrompt

Implements

Properties

DurationMs

Total time before auto-commit.

public int DurationMs { get; init; }

Message

Toast text shown to the user.

public string Message { get; init; }

Tcs

Internal completion source — true = commit, false = undo.

public TaskCompletionSource<bool> Tcs { get; init; }

Constructors

UndoPrompt(string, int, TaskCompletionSource<bool>)

One in-flight undo prompt — message, expected duration, and the