Skip to main content

registerResourceManagerUnloadCleanup

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/app/lifecycle/resourceManagerRuntime / registerResourceManagerUnloadCleanup

Function: registerResourceManagerUnloadCleanup()

registerResourceManagerUnloadCleanup(cleanup: () => void, scope?: ResourceManagerRuntimeScope): (() => void) | null

Defined in: utils/app/lifecycle/resourceManagerRuntime.ts:116

Parameters​

cleanup​

() => void

scope?​

ResourceManagerRuntimeScope = defaultResourceManagerRuntimeScope

Returns​

(() => void) | null