mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
66f8ed15e8
Before this change the effect creation function was returning an instance of the Effect interface with explicit destroy and schedule operations. This commit makes the following changes to the return type of effect: - the interface is renamed from Effect to EffectRef; - the only available method on this interface is destroy. We want to tighten the interface in question so only a minimal set of useful operations is initially exposed. PR Close #49490
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT