Lines Matching refs:flush
8 …ess when the data is required. If you want to persist data, you can use **flush()** to save the da…
40 …lt synchronously. An asynchronous API is also provided.<br/>You can use **flush()** to persist the…
44 | flush(callback: AsyncCallback<void>): void | Flushes the data of this **Prefere…
45 …;): void | Subscribes to data changes. A callback will be invoked after **flush()** is executed fo…
94 …the cached **Preferences** instance. After data is written, you can use **flush()** to persist the…
143 …You can use **flush()** to persist the data held in a **Preferences** instance to a file.<br>Examp…
146 dataPreferences.flush((err: BusinessError) => {
148 console.error(`Failed to flush. Code:${err.code}, message:${err.message}`);
157 …plication. When the value of the subscribed key is changed and saved by **flush()**, the observer …
172 dataPreferences.flush((err: BusinessError) => {
174 console.error(`Failed to flush. Code:${err.code}, message:${err.message}`);