装饰方法运行在 runOutsideAngular 内。
runOutsideAngular
class MockClass { constructor(public ngZone: NgZone) {} @ZoneOutside() run(): void {} }
装饰方法运行在 run 内。
run
class MockClass { constructor(public ngZone: NgZone) {} @ZoneRun() run(): void {} }