feat(infrastructure): add job interfaces for background processing
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace IncidentOps.Infrastructure.Jobs;
|
||||
|
||||
public interface IEscalateIfUnackedJob
|
||||
{
|
||||
Task ExecuteAsync(Guid incidentId, int step);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace IncidentOps.Infrastructure.Jobs;
|
||||
|
||||
public interface IIncidentTriggeredJob
|
||||
{
|
||||
Task ExecuteAsync(Guid incidentId);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace IncidentOps.Infrastructure.Jobs;
|
||||
|
||||
public interface ISendWebhookNotificationJob
|
||||
{
|
||||
Task ExecuteAsync(Guid incidentId, Guid targetId);
|
||||
}
|
||||
Reference in New Issue
Block a user