A global reactive effect, which can be manually destroyed.
interface EffectRef extends { destroy(): void;}
void
Shut down the effect, removing it from any upcoming scheduled executions.