diff --git a/1-js/11-async/04-promise-error-handling/promise-handler-variants.svg b/1-js/11-async/04-promise-error-handling/promise-handler-variants.svg deleted file mode 100644 index c76a047f..00000000 --- a/1-js/11-async/04-promise-error-handling/promise-handler-variants.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - promise-handler-variants.svg - Created with sketchtool. - - - - - - - return value - - - return promise - - - throw error - - - - state: "fulfilled" - result: value - - - - state: "rejected" - result: error - - - - - - - - ...with the result - of the new promise... - - - - state: "pending" - result: undefined - - - the call of .then(handler) always returns a promise: - - - that promise is settled by handler - - - if handler ends with… - - - the promise settles with: - - - - \ No newline at end of file diff --git a/figures.sketch b/figures.sketch index f57fa9d0..78b0cce7 100644 Binary files a/figures.sketch and b/figures.sketch differ