namespace Elsa.Workflows.Runtime.Options;
///
/// Controls how the durable stimulus queue behaves when its configured maximum depth is exceeded while the runtime is paused.
///
public enum StimulusQueueOverflowPolicy
{
///
/// Continue accepting new stimuli. A degraded readiness signal is surfaced but no writes are rejected. This is the default
/// so upstream transports are not forced into redelivery loops during routine administrative pauses.
///
Buffer,
///
/// Reject new stimuli with a typed error once the threshold is exceeded. Upstream transports can translate the error into
/// their own back-pressure primitive.
///
Reject,
}