-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Katari.Manikanta
authored and
Katari.Manikanta
committed
Dec 21, 2023
1 parent
fa315f3
commit 9b1ba80
Showing
4 changed files
with
80 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
using Conductor.Client.Models; | ||
using Conductor.Client.Worker; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
namespace Conductor.Client.Interfaces | ||
{ | ||
public interface IWorkflowTask | ||
{ | ||
string TaskType { get; } | ||
WorkflowTaskExecutorConfiguration WorkerSettings { get; } | ||
TaskResult Execute(Task task); | ||
Task<TaskResult> Execute(Models.Task task, CancellationToken token); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters