diff options
author | Determinant <ted.sybil@gmail.com> | 2018-02-04 15:16:58 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2018-02-04 15:16:58 -0500 |
commit | ac3a0030123a350bff490d69a4786954a9003686 (patch) | |
tree | 54d85b015739cef725a8eaec19d4678fa44f57d4 /test_ref.txt | |
parent | 7a95221366f1a2aef9414ae7484242726bb812a1 (diff) |
add `race`
Diffstat (limited to 'test_ref.txt')
-rw-r--r-- | test_ref.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test_ref.txt b/test_ref.txt index 54d6079..142ba93 100644 --- a/test_ref.txt +++ b/test_ref.txt @@ -2,6 +2,7 @@ promise 1 constructed, but won't be resolved immediately promise 3 constructed promise 4 constructed promise 5 constructed +promsie 8 will never be resolved calling t4: resolve promise 3 calling t5: resolve promise 4 calling t3: resolve promise 5 @@ -21,4 +22,5 @@ operator A got 1 void return is ok void parameter is ok void parameter will ignore the returned value -finally 100 +promise 1, 6 resolved 100 +finally, promise 9 resolved with 101 |