Skip to main content

Charting Library.IDestroyable

IDESTRØYÅBLE

┌────────────────┐
│ ┏━━━━━┓ │
│ ┃ ○ ○ ┃ │ ┏━━━━━┓ ┌╲╌╌╱╌┐
│ ┃ ○ ○ ┃ x 1 │ ┃ ○ ○ ┃ destroy() ┊ ╲╱ ╵
│ ┠─────┨ │ ┃ ○ ○ ┃ ╭───╯╲ ╷ ╱╲ ┊
│ ┗━━━━━┛ │ ┠─────┨ ╰───╮╱ ├╱ ╌╲ ┤
│ destroy() x 1 │ ┗━━━━━┛ └ ╌╌ ╌┘
└────────────────┘

Hierarchy

Methods

destroy

destroy(): void

Clean up (destroy) any subscriptions, intervals, or other resources that this IDestroyable instance has.

Returns

void