UNPKG

jfactory-promise

Version:

Promise where the whole tree can be awaited, canceled and expired. Provides synchronous status, explorable chain map, shared data, debug data and trace.

48 lines (39 loc) 2.53 kB
jFactory License 1.0 JFactoryPromise, Copyright (c) 2019, Stéphane Plazis Original source repository: https://github.com/jfactory-es/jfactory Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Modifications related to bug fixes or feature improvements must be published as a "pull request" on the original source repository and changes must be documented. * Redistribution of modified sources code is only permitted in the form of a public repository created using the "fork" feature of the original source repository platform (the original source repository must be able to list the modified source repository as one of its "fork") * If the purpose of the modified source repository is not a "pull request", the README file provided at the root of this distribution must clearly state next to the document title that the distribution is a "fork" of the original repository. * Renaming or rebranding this distribution, its software, files, classes or modules is not permitted without the prior written permission of the copyright holder above. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. * Redistributions of source code, with or without modification, must retain the above copyright notice in all copies or substantial portions of the Software, this list of conditions and the following disclaimer. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.