Skip to content

v2 beta - improve usability#45

Merged
SVappsLAB merged 1 commit into
mainfrom
improveUsability
Jun 7, 2026
Merged

v2 beta - improve usability#45
SVappsLAB merged 1 commit into
mainfrom
improveUsability

Conversation

@SVappsLAB
Copy link
Copy Markdown
Owner

Improve SDK usability and ease of use

Improve the most common use case (subscribe to a few streams and react), without forcing consumers to wire up await foreach loops or stream-subscription extensions.

  • Add new TelemetryHandlers type - a bag of optional async callbacks: OnTelemetryUpdate, OnSessionInfoUpdate, OnRawSessionInfoUpdate, OnConnectStateChanged, OnError
  • Add new Monitor(TelemetryHandlers handlers, CancellationToken ct) overload - the simplest way to consume telemetry. It starts stream consumption, runs monitoring, and returns when monitoring ends. SDK processing errors are output to the OnError stream. Errors in the users 'handler' are thrown back to the application.

See README.md and Sample projects for examples and details

@SVappsLAB SVappsLAB merged commit 5d6eb2c into main Jun 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant