FetchStore.refresh()method
refresh(maxAge: number = ALWAYS_REFRESH): Promise<boolean> | boolean
Fetch the result for this store now.
- Triggered automatically when someone reads
valueorloading. - Refreshes are de-duplicated. Concurrent calls while a fetch is in-flight return the same promise.
- Never throws — errors are stored as
reason.