Interface ISchedulerContextService
public interface ISchedulerContextService
- Extension Methods
Methods
CreateScope(string)
Create a scope that has runtime suitable for given caseid
IServiceScope CreateScope(string caseId)
Parameters
caseId
string
Returns
- IServiceScope
A scope which includes both a Runtime and an ICasePersistor appropriate for the provided case.
Remarks
This method is useful in a multi-tenant setting where different tenants have different runtime configurations.
GetAllDelayedAsync()
Get all cases requiring delayed execution
IAsyncEnumerable<KeyValuePair<string, DateTimeOffset>> GetAllDelayedAsync()