Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 2a6444b

Browse files
manishbansal8843mhevery
authored andcommitted
docs: Re-phrase the lines for better understanding (#1151)
Few lines need to be re-phrased for better understanding.
1 parent f171821 commit 2a6444b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: doc/task.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ We handle several kinds of tasks in zone.js,
88

99
For details, please refer to [here](../dist/zone.js.d.ts)
1010

11-
And in this documentation, it will explain the task lifecycle about which callback
12-
of zoneSpec will be triggered when.
11+
This document will explain the lifecycle (state-transition) of different types of tasks and also the triggering of various zonespec's callback during that cycle.
1312

14-
The motivation to write this because of this [PR](https://github.com/angular/zone.js/pull/629) of @mhevery. That task's state become more clear and can be rescheduled and override.
13+
The motivation to write this document has come from this [PR](https://github.com/angular/zone.js/pull/629) of @mhevery. This has made the task's state more clear. Also, tasks can now be cancelled and rescheduled in different zone.
1514

1615
### MicroTask
1716
Such as Promise.then, process.nextTick, they are microTasks, the lifecycle(state transition)

0 commit comments

Comments
 (0)