|
Some checks failed
Security / Security check (push) Failing after 2s
Adds `HubClient.streamEvents(backfill:, types:)` returning a `Stream<LoggedEvent>` that fronts the new `HubAdmin/StreamEvents` RPC. Each event arrives the instant the hub appends it; cancel the subscription to close the RPC. `backfill` defaults to 50 historical events (oldest-last for chronological reception). `RESOURCE_EXHAUSTED` from the server means the receiver fell behind — reconnect with a fresh backfill to resync. Bindings regenerated from fai_platform/proto. dart analyze + dart test green (4 tests). Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| fai_client_sdk.dart | ||