We have a Firefly Semantics Slice Entity Store (EStore) that we are using to also store queries that we are executing against its contents.
We wish to take a snapshot of the query.
Approach
Simply use the getter for the query attached to the EStore .
searchStore.query = 'angular';
const query = searchStore.query;