Interfaces

Interface: UseSubscriptions

react-autonomy.UseSubscriptions

UseSubscriptions contains the data and methods returned by the useSubscriptions hook.

Properties

error

error: Error

Defined in



isFetching

isFetching: boolean

Defined in



isLoaded

isLoaded: boolean

Defined in



loadSubscriptions

loadSubscriptions: () => Promise<Subscription[]>

Type declaration

▸ (): Promise<Subscription[]>

Loads all subscriptions that the customer might have for the store. This function should only need to be called in exceptional circumstances, as useSubscriptions automatically calls this.

Returns

Promise<Subscription[]>

Defined in



subscriptions

subscriptions: Subscription[]

Defined in