10 lines
247 B
C#
10 lines
247 B
C#
using System.Text.Json.Nodes;
|
|
|
|
namespace backend.Realtime;
|
|
|
|
public interface IRealtimeUpstream : IAsyncDisposable
|
|
{
|
|
Task SendJsonAsync(JsonObject envelope, CancellationToken ct);
|
|
Task<JsonObject?> ReceiveJsonAsync(CancellationToken ct);
|
|
}
|