chain-client-sdk-dart/lib
flemming-it c90a88481c
Some checks failed
Security / Security check (push) Failing after 2s
feat(client): streamEvents() wraps server-streaming audit log
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>
2026-05-28 16:54:51 +02:00
..
src feat(client): streamEvents() wraps server-streaming audit log 2026-05-28 16:54:51 +02:00
fai_client_sdk.dart chore: rename package + dir + repo to fai_client_sdk 2026-05-26 13:46:16 +02:00