feat: add inital in memory dispatcher
Add a simple in memory dispatcher for scalar requests and stream request.
This commit is contained in:
commit
1218d3617a
145 changed files with 6388 additions and 0 deletions
10
src/request.tests/_fixtures/BaseScalarHandler.cs
Normal file
10
src/request.tests/_fixtures/BaseScalarHandler.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// Copyright (c) The Geekeey Authors
|
||||
// SPDX-License-Identifier: EUPL-1.2
|
||||
|
||||
namespace Geekeey.Request.Tests;
|
||||
|
||||
public abstract class BaseScalarHandler<TRequest> : IScalarRequestHandler<TRequest, string>
|
||||
where TRequest : IScalarRequest<string>
|
||||
{
|
||||
public abstract Task<string> HandleAsync(TRequest request, CancellationToken cancellationToken);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue