Interfaces
Interface: UseSubscriptions
react-autonomy.UseSubscriptions
UseSubscriptions contains the data and methods returned by the useSubscriptions hook.
• error: Error
• isFetching: boolean
• isLoaded: boolean
• loadSubscriptions: () => Promise<Subscription[]>
▸ (): 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.
Promise<Subscription[]>
• subscriptions: Subscription[]