A handle returned by various functions to dispose of a resource, such as a watcher or an effect.

interface CleanupHandle {
    destroy(): void;
}

Methods

Methods

  • Performs the cleanup action associated with the resource.

    Returns void