This hook subscribes to an observable and returns the value of the observable.Documentation Index
Fetch the complete documentation index at: https://docs.towns.com/llms.txt
Use this file to discover all available pages before exploring further.
Imports
Definition
Parameters
observable
- Type:
Observable<Model>
config
- Type:
ObservableConfig.FromData<Model> - Optional
config.fireImmediately
- Type:
boolean - Optional
config.onError
- Type:
(error: Error) => void - Optional
config.onUpdate
- Type:
(data: Data) => void - Optional