Interface ITimerOwners
- Namespace
- Stratara.Abstractions.Timers
- Assembly
- Stratara.Abstractions.dll
Answers whether a timer's owner still exists. Implemented by the host: an aggregate that has not been closed, a process that is still running, an intent that has not been completed.
public interface ITimerOwners
- Extension Methods
Methods
ExistsAsync(string, CancellationToken)
Returns whether ownerId still exists.
Task<bool> ExistsAsync(string ownerId, CancellationToken cancellationToken)
Parameters
ownerIdstringThe owner a due timer belongs to.
cancellationTokenCancellationTokenPropagated to the lookup.