diff --git a/README.md b/README.md index d1d1718..ffb3ddb 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,9 @@ Library of JavaScript type extensions, types and utilities. - [Array proxy methods returning ``](#array-proxy-methods-returning-promise-iter) - [Array proxy methods returning a ``](#array-proxy-methods-returning-a-promise) - [`.then(..)` / `.catch(..)` / `.finally(..)`](#promise-iterthen--promise-itercatch--promise-iterfinally) + - [`.iterthen(..)`](#promise-iterthen) + - [`.isSync(..)`](#promise-issync) + - [`.sync(..)`](#promise-sync) - [`promise.IterablePromise.STOP` / `promise.IterablePromise.STOP(..)`](#promiseiterablepromisestop--promiseiterablepromisestop) - [Advanced handler](#advanced-handler) - [Stopping the iteration](#stopping-the-iteration) @@ -1823,6 +1826,7 @@ These are similar to [`.some(..)`](https://developer.mozilla.org/en-US/do and [`.find(..)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) see them for more info. + #### Array proxy methods returning `` - `.sort(..)` @@ -1887,6 +1891,24 @@ For more info see: [Stopping the iteration](#stopping-the-iteration) below, and [the 'Array' STOP section](#arraystop--arraystop) +#### `.iterthen(..)` + +Like `.then(..)` but will return an `IterablePromise` instance. + + +#### `.isSync()` + +Return `true` if all content is resolved, otherwise return `false`. + + +#### `.sync(..)` + +If all content is resolved return the promise value, otherwise return a promise. + +For more info see: [`.sync(..)`](#promisesync) + + + #### Advanced handler ```bnf