Skip to main content
Table of Contents

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

ownerId string

The owner a due timer belongs to.

cancellationToken CancellationToken

Propagated to the lookup.

Returns

Task<bool>