-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SceneQueryRunner: allow extra queries and processors to be rerun sepa…
…rately Followup from [this comment](#587 (comment)) - this adds the option for ExtraQueryProviders to state that they only wish to have their processor rerun (probably with different state), rather than the QueryRunner rerunning both the query _and_ the processor. This is really useful for some ML-based providers which need to run an extra query then transform the results, and also include interactivity such as a slider, but _don't_ need to rerun the query as part of the interactivity - just the processing. There are some downsides here, most notably the extra complexity: - the `ExtraQueryProvider` interface is more flexible but more complex - the `SceneQueryRunner` needs another subscription and `ReplaySubject` in order to be able to re-send the latest unprocessed data to the processors again - I think this will also increase memory usage? Perhaps there's a way to do this using transformations instead?
- Loading branch information
Showing
6 changed files
with
146 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
packages/scenes/src/querying/extraQueryProcessingOperator.ts
This file was deleted.
Oops, something went wrong.