Registers a dispose callback on the current active effect scope. The callback will be invoked when the associated effect scope is stopped.
The callback function to attach to the scope's cleanup.
Registers a dispose callback on the current active effect scope. The callback will be invoked when the associated effect scope is stopped.