Skip to content

textmode.figlet.js / TextmodeFigFont / _addOnDispose

Method: _addOnDispose()

ts
_addOnDispose(callback): void;

Register a callback to run when the resource is disposed.

Parameters

ParameterTypeDescription
callback() => voidCallback to run on disposal.

Returns

void

Inherited from

ts
Disposable._addOnDispose