how to clean timer orchestration creates via CreateTimer() in durable task framework?
Open
- Dominant language
- C#
- Stars
- 1.7k
- Forks
- 335
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 6
Description
We are using the timer function provided by DTF to support periodic workflow like below.
TResult result = default(TResult) !; try { result = await base.RunTask(context, input); } catch (Exception) { } finally { await context.CreateTimer(DateTime.UtcNow.Add(this.Periodicity), null !); context.ContinueAsNew(input); }
return result;
Now we want to clean up the orchestration scheduled by timer and create schedule at new timing. what is the best way to clean up this orchestration? for Using TerminateAsync , the workflow might be in run, so intention is to stop it after current run.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.