kekekeks / CoreRPC

Extensible RPC library with Typescript client generator
MIT License
82 stars 17 forks source link

Streaming response support #23

Open maxkatz6 opened 2 months ago

maxkatz6 commented 2 months ago

Either IAsyncEnumerable or IObservable response allowing to send more data on the same query request.

IObservable is probably what I am going to try to implement.

kekekeks commented 2 months ago

IAsyncEnumerable more closely matches network request/response semantics and is easier to implement for typical scenarios when RPC is used (e. g. streaming from a server-side enumerable)