Skip to main content

Resource

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/app/lifecycle/resourceManager / Resource

Interface: Resource

Defined in: utils/app/lifecycle/resourceManager.js:15

Properties​

id​

id: string

Defined in: utils/app/lifecycle/resourceManager.js:16

Unique resource identifier


type​

type: ResourceType

Defined in: utils/app/lifecycle/resourceManager.js:17

Type of resource


owner?​

optional owner: string

Defined in: utils/app/lifecycle/resourceManager.js:18

Optional owner/component identifier


cleanup​

cleanup: Function

Defined in: utils/app/lifecycle/resourceManager.js:19

Cleanup function for this resource


instance?​

optional instance: any

Defined in: utils/app/lifecycle/resourceManager.js:20

Optional reference to the resource instance


timestamp​

timestamp: number

Defined in: utils/app/lifecycle/resourceManager.js:21

When the resource was registered