Observe the data store on the demand

Hello,
I would like to get the value of a key from the data store on demand and not by listening to the data store (Suite 8 and Optimus)
If I put an “observe()” method in an event (component.events.on()) or in a global event via the fire() method (this.on()), how can I make the “observe()” method only execute once when the event fires ?
(that is to say that after the execution of the “observe()” method, this one is deactivated until the event is triggered again)
In the normal work, if I’m not mistaken, after the event has been called once , the “observe()” method remains active and continue to listen the store.
If there is no solution using the observe() method, did you have a solution to get the value of a key from the data store ?
Thanks for your help.

There is no datastore in the dhx.Suite 8. All operation with the components data can be performed with the dataCollection:

So, you can use:

to get the data containing the specified item.

Hi,
In fact, I was referring to the Observable store to manage the global state of the application !
But thanks anyway