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