devscout-rs 0.6.0

Fast code index for C# and TypeScript codebases -- map, find, refs, impact from the CLI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// The one concrete IPublishEndpoint implementation, registered in Program.cs
// so DI resolution has somewhere real to land.
namespace Courier.Api.Messaging;

using Courier.Framework;

public sealed class InMemoryBus : IPublishEndpoint
{
    public Task Publish<T>(T message, CancellationToken ct = default) where T : class => Task.CompletedTask;

    public Task PublishAsync(object message) => Task.CompletedTask;

    public Task SubmitJob<T>(T job, CancellationToken ct = default) where T : class => Task.CompletedTask;
}