EffectRef
interfacestablesince v20.0codeA global reactive effect, which can be manually destroyed.
API
interface EffectRef {}
destroy
voidShut down the effect, removing it from any upcoming scheduled executions.
@returnsvoid