An interface which provides automatic removal during unloading of the component

interface IWatcherHandler<T> {
    fn: WatcherFunction<T>;
    rm: (() => void);
}

Type Parameters

Hierarchy (view full)

Properties

Properties

rm: (() => void)

Self remove the referenced component