• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucaslorentz / durabletask-extensions / 5835751495

pending completion
5835751495

push

github

lucaslorentz
Add husky and apply some code fixes

2502 of 2502 new or added lines in 91 files covered. (100.0%)

2286 of 2792 relevant lines covered (81.88%)

143.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/LLL.DurableTask.Worker/OrchestrationContextStatusExtensions.cs
1
using System;
2

3
namespace LLL.DurableTask.Worker;
4

5
public static class OrchestrationContextStatusExtensions
6
{
7
    public static void SetStatusProvider<T>(
8
        this ExtendedOrchestrationContext context,
9
        Func<T> statusProvider)
10
    {
11
        if (statusProvider == null)
2✔
12
        {
13
            context.StatusProvider = null;
×
14
            return;
×
15
        }
16

17
        context.StatusProvider = () => context.MessageDataConverter.Serialize(statusProvider());
4✔
18
    }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc