< Summary

Information
Class: Elsa.Mediator.Models.EnqueuedJob
Assembly: Elsa.Mediator
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Models/EnqueuedJob.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 10
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_JobId()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Models/EnqueuedJob.cs

#LineLine coverage
 1namespace Elsa.Mediator.Models;
 2
 3/// <summary>
 4/// Represents an item in the job queue.
 5/// </summary>
 6/// <param name="JobId">The ID of the job.</param>
 7/// <param name="Action">The job to execute.</param>
 8/// <param name="CancellationTokenSource">The cancellation token source.</param>
 9/// <param name="OnJobCompleted">The action to invoke when the job has completed.</param>
 010public record EnqueuedJob(string JobId, Func<CancellationToken, Task> Action, CancellationTokenSource CancellationTokenS

Methods/Properties

get_JobId()