Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MovingWindow] Add a trigger that fires after having received a fixed number of samples #967

Open
matthias-wende-frequenz opened this issue Jun 10, 2024 · 0 comments
Assignees
Labels
part:data-pipeline Affects the data pipeline type:enhancement New feature or enhancement visitble to users
Milestone

Comments

@matthias-wende-frequenz
Copy link
Contributor

What's needed?

Currently there is no clean way to wait until the MovingWindow got updated with a certain number of samples.
This feature has been requested in the past and there has been an initial implemented attempt #387.

This feature has been requested again now by @cwasicki.

Proposed solution

Introduce an asynchronous wait_for_samples method that returns once the requested number of new samples has been stored in the MovingWindow.

Use cases

Alternatives and workarounds

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:data-pipeline Affects the data pipeline type:enhancement New feature or enhancement visitble to users
Projects
Status: To do
2 participants