Skip to content

@deltares/fews-web-oc-composables


@deltares/fews-web-oc-composables / useSharedRequestRegistrations

Function: useSharedRequestRegistrations() ​

useSharedRequestRegistrations(): Readonly<ShallowRef<readonly SharedRequestRegistration[]>>

Defined in: useSharedRequestRegistrations/index.ts:20

Alpha

Reactive list of the requests that are currently in flight via sharedRequest. Unsubscribes when the current effect scope is disposed.

Registration keys may contain sensitive URL data; sanitise them before displaying or logging.

Returns ​

Readonly<ShallowRef<readonly SharedRequestRegistration[]>>

A read-only ref with a frozen snapshot of the registrations.