angular-docs-cn/packages/zone.js/doc/microtask.puml

14 lines
333 B
Plaintext
Raw Normal View History

@startuml
[*] --> notScheduled: initialize
notScheduled --> scheduling: promise.then/\nprocess.nextTick\nand so on
scheduling: zoneSpec.onScheduleTask
scheduling: zoneSpec.onHasTask
scheduling --> scheduled
scheduled --> running: callback
running: zoneSpec:onInvokeTask
running --> notScheduled
running: zoneSpec.onHasTask
@enduml