Skip to content

Commit

Permalink
Add Stream-based Control Flow for Observation Emitter
Browse files Browse the repository at this point in the history
This commit introduces tokio streams to control how often a third-party
adapter is called to fetch data from a data source. The adapter is called
on an interval using a timer, and the results are chunked before being
returned as a stream.

It adds a simple stream-based pipeline to gather observations
as they're emitted by a local cache. It plumbs together a futures API
to make event handling nature and easy.

chore: Add stream-based control flow for third-party adapters.
  • Loading branch information
RobbieMcKinstry committed Oct 17, 2024
1 parent ef8eb72 commit b46573b
Show file tree
Hide file tree
Showing 6 changed files with 1,509 additions and 9 deletions.
Loading

0 comments on commit b46573b

Please sign in to comment.