Skip to main content

ResQ.Clients.InfrastructureApiClient

InfrastructureApiClient.CreateIncidentAsync(CreateIncidentRequest, CancellationToken) Method

Creates an incident record. Uses timeout and circuit-breaker handling without replaying the mutation on failure.
public System.Threading.Tasks.Task<ResQ.Clients.IncidentResponse> CreateIncidentAsync(ResQ.Clients.CreateIncidentRequest request, System.Threading.CancellationToken ct=default(System.Threading.CancellationToken));

Parameters

request CreateIncidentRequest ct System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IncidentResponse>