rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
83 lines (38 loc) • 1.18 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [CleanupRegistry](./rc-js-util.cleanupregistry.md)
## CleanupRegistry class
Strong reference implementation of [ICleanupRegistry](./rc-js-util.icleanupregistry.md)<!-- -->.
**Signature:**
```typescript
export declare class CleanupRegistry implements ICleanupRegistry
```
**Implements:** [ICleanupRegistry](./rc-js-util.icleanupregistry.md)
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[executeCleanups()](./rc-js-util.cleanupregistry.executecleanups.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[listCleanups()](./rc-js-util.cleanupregistry.listcleanups.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[registerCleanup(listener)](./rc-js-util.cleanupregistry.registercleanup.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[unregisterCleanup(listener)](./rc-js-util.cleanupregistry.unregistercleanup.md)
</td><td>
</td><td>
</td></tr>
</tbody></table>