Taking a Query Snapshot of a Firefly Semantics Slice Entity Store | Task

Ole Ersoy
Apr - 28  -  1 min

Scenario

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.

Here is a YouTube demo.

Approach

Simply use the getter for the query attached to the EStore .

searchStore.query = 'angular';
const query = searchStore.query;

Demo