feat: add inital in memory dispatcher
All checks were successful
default / dotnet-default-workflow (push) Successful in 1m48s
All checks were successful
default / dotnet-default-workflow (push) Successful in 1m48s
Add a simple in memory dispatcher for scalar requests and stream request.
This commit is contained in:
commit
fd92db3379
145 changed files with 6388 additions and 0 deletions
12
src/request.tests/_fixtures/FailingScalarHandler.cs
Normal file
12
src/request.tests/_fixtures/FailingScalarHandler.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Copyright (c) The Geekeey Authors
|
||||
// SPDX-License-Identifier: EUPL-1.2
|
||||
|
||||
namespace Geekeey.Request.Tests;
|
||||
|
||||
public class FailingScalarHandler : IScalarRequestHandler<FailingScalarRequest, string>
|
||||
{
|
||||
public Task<string> HandleAsync(FailingScalarRequest request, CancellationToken cancellationToken)
|
||||
{
|
||||
throw new InvalidOperationException("Handler failed");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue