Interface: SCSubscribedIncubatorsManagerType
types/context.SCSubscribedIncubatorsManagerType
Properties
emptyCache
• Optional
emptyCache: () => void
Type declaration
▸ (): void
Empty cache to revalidate all subscribed
Returns
void
Defined in
packages/react-core/src/types/context.ts:427
incubators
• incubators: number
[]
List of all incubators ids subscribed by the authenticated user
Defined in
packages/react-core/src/types/context.ts:397
isLoading
• isLoading: (incubator
: SCIncubatorType
) => boolean
Type declaration
▸ (incubator
): boolean
List of current incubators in loading state
Parameters
Name | Type |
---|---|
incubator | SCIncubatorType |
Returns
boolean
Defined in
packages/react-core/src/types/context.ts:407
isSubscribed
• Optional
isSubscribed: (incubator
: SCIncubatorType
) => boolean
Type declaration
▸ (incubator
): boolean
Handle check if a user has subscribed to an incubator, caching data
Parameters
Name | Type |
---|---|
incubator | SCIncubatorType |
Returns
boolean
Defined in
packages/react-core/src/types/context.ts:417
loading
• loading: number
[]
List of all incubators in loading state
Defined in
packages/react-core/src/types/context.ts:402
refresh
• Optional
refresh: () => void
Type declaration
▸ (): void
Refresh subscribed
Returns
void
Defined in
packages/react-core/src/types/context.ts:422
subscribe
• Optional
subscribe: (incubator
: SCIncubatorType
) => Promise
<any
>
Type declaration
▸ (incubator
): Promise
<any
>
Handle incubator subscribe/unsubscribe
Parameters
Name | Type |
---|---|
incubator | SCIncubatorType |
Returns
Promise
<any
>