Reference
withCleanupScope
Cleanup scope helpers used by reactive DOM and tests.
Signature
function withCleanupScope<T>(owner: (dispose: (): void): void, run: (): T): TReference
Cleanup scope helpers used by reactive DOM and tests.
function withCleanupScope<T>(owner: (dispose: (): void): void, run: (): T): T