ServerEvents for Dart/Flutter client
s de vogelaere shared this idea
We’re going to support Server Events for alt languages through ServiceStack’s new gRPC support which has a dedicated “Server Stream” rpc channel that’s specifically designed for persisten server communications like Server Events.
There’s a Dart Server Events example in the docs:
May look at improving the development UX in future with an “Adapter” of the gRPC stream to provide a declarative UX for registering handlers.