• Registers a dispose callback on the current active effect scope. The callback will be invoked when the associated effect scope is stopped.

    Parameters

    • fn: (() => void)

      The callback function to attach to the scope's cleanup.

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc