mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ce38be03ce
This change makes is possible to use async functions (ones returning a promise) as effect run functions. To make it possible, the signature of the effect function changed: effect cleanup function is registered now (using a dedicated callback passed to the effect creation) instead of being returned from the effect function. PR Close #49783