File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,21 @@ For these exercises, you only need to go the `/answers` directory and implement
16
16
17
17
Or, you can run only the test suites for any exercise using the commands below.
18
18
19
+ > Quick tip: To run any of the exercises below in watch mode, add ` -- --watch ` , (e.g. ` npm run making-promises -- --watch ` )
20
+
21
+ You are free to look at any of the tests for guidance, but don't change them.
22
+
19
23
## Outline
20
24
25
+ ### The Promise Toolbox
26
+
27
+ These exercises are all about learning the mechanisms that we can use to create, transform, and combine promises.
28
+
21
29
` npm run making-promises ` - Create promises with Promise.resolve, Promise.reject, and the Promise constructor.
22
30
` npm run and-then ` - Use ` .then(cb) ` and ` .catch(cb) ` to consume the output of promises, as well as to transform and chain async processes.
31
+
32
+ ### Promise Puzzles
33
+
34
+ Now it's time to use the tricks from above to solve some problems.
35
+
23
36
` npm run callbacks ` - Turn callback-centric functions into promise-centric functions.
You can’t perform that action at this time.
0 commit comments