elsa-core/src/modules/Elsa.Workflows.Runtime/Contracts/IBookmarkQueueSignaler.cs
Sipke Schoorstra a2448523a9
Fix race condition and add rate limiting to bookmark queue processing (#6187)
* Fix race condition and add rate limiting to bookmark queue processing

Introduce rate-limited function invocation for bookmark queue processing using ThrottleDebounce library to optimize performance. Update related classes and interfaces to support asynchronous and cancellation-aware operations, improving system responsiveness. Adjust logging to provide more detailed information during bookmark queue handling.

* Enable workflows on bug branches

This change updates the GitHub Actions workflow configuration to trigger on branches with the 'bug/*' pattern. This allows for automated actions on bug fix branches alongside the main branch, improving development and testing processes.
2024-12-07 17:34:10 +01:00

7 lines
216 B
C#

namespace Elsa.Workflows.Runtime;
public interface IBookmarkQueueSignaler
{
Task AwaitAsync(CancellationToken cancellationToken = default);
Task TriggerAsync(CancellationToken cancellationToken = default);
}