mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
20 lines
No EOL
602 B
Text
20 lines
No EOL
602 B
Text
@startuml
|
|
[*] --> notScheduled: initialize
|
|
notScheduled --> scheduling: ①current zone\n scheduleTask
|
|
notScheduled --> scheduling: ③anotherZone\n scheduleTask
|
|
|
|
scheduling: anotherZoneSpec.onScheduleTask
|
|
scheduling: anotherZoneSpec.onHasTask
|
|
|
|
scheduling --> notScheduled: ②cancelScheduleRequest
|
|
scheduling --> scheduled
|
|
scheduled --> running: callback
|
|
running: anotherZoneSpec:onInvokeTask
|
|
|
|
scheduled --> canceling: cancelTask
|
|
canceling: anotherZoneSpec.onCancelTask
|
|
canceling --> notScheduled
|
|
canceling: anotherZoneSpec.onHasTask
|
|
running --> notScheduled
|
|
running: anotherZoneSpec.onHasTask
|
|
@enduml |