JSPM

Found 85 results for cancellable

p-cancelable

Create a promise that can be canceled

  • v4.0.1
  • 107.98
  • Published

real-cancellable-promise

A simple cancellable promise implementation that cancels the underlying HTTP call.

  • v1.2.3
  • 73.83
  • Published

promise-abortable

A little lib for aborting in Promise chain.

  • v1.2.6
  • 55.62
  • Published

rhodium

A TypeScript `Promise` wrapper that adds syntax sugar.

  • v0.5.0
  • 54.97
  • Published

race-cancellation

Utilities for using Promise.race([task, cancellation]) for async/await code.

  • v0.5.0
  • 53.28
  • Published

cancelable-awaiter

A replacement for Typescript's default awaiter helper that supports Bluebird promise cancellations.

  • v1.0.6
  • 53.21
  • Published

@esm2cjs/p-cancelable

Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.

  • v4.0.1
  • 52.43
  • Published

trashable

A wrapper to make promises cancellable and garbage collectable

  • v1.0.7
  • 52.23
  • Published

@empathyco/x-priority-queue

A priority queue implementation in typescript allowing cancellable elements

  • v1.0.3-alpha.5
  • 48.96
  • Published

promist

A dependable promises and async utility belt

  • v6.0.0
  • 47.83
  • Published

dodgy

Optionally abortable, resolvable, and rejectable promises

    • v1.4.0
    • 47.35
    • Published

    @tsdotnet/threading

    Classes and functions for simplifying task scheduling and distributing tasks to workers.

    • v2.0.13
    • 40.00
    • Published

    c-promise2

    Cancelable promise with progress capturing, pause, timeouts, signals, data flows and decorators support

    • v0.13.12
    • 38.01
    • Published

    use-abortable-promise

    > Hook for managing abortable `Promise`s (e.g. [fetch()](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)) inside React components.

    • v3.5.0
    • 36.73
    • Published

    @anton.bobrov/p-cancelable

    Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable

    • v4.0.1-1
    • 33.45
    • Published

    @promise-saga/core

    Promise Saga: Core library for managing async flows with cancelable effects

    • v0.0.3
    • 31.99
    • Published

    use-async-effect2

    Asynchronous versions of the `useEffect` and` useCallback` hooks that able to cancel internal code by user requests or component unmounting

    • v0.12.2
    • 31.52
    • Published

    @bemedev/interval2

    A cancellable interval and timer library for JavaScript and TypeScript.

    • v0.1.3
    • 29.37
    • Published

    xhfetch

    💫 Tiny cancellable fetch

    • v1.0.2
    • 29.12
    • Published

    @aspectus/promise-proxy

    Promise proxiyng mechanics to easily extend promise functionality.

    • v0.10.21
    • 28.01
    • Published

    @aspectus/superagent-fetch

    Custom fetcher that adapts [superagent](https://github.com/visionmedia/superagent) library to the default Fetch API.

    • v0.10.10
    • 25.38
    • Published

    @oxog/delay

    A comprehensive, zero-dependency delay/timeout utility library with advanced timing features

    • v1.0.3
    • 22.98
    • Published

    cancellable

    Helper for creating cancellable promise-returning functions.

    • v1.2.0
    • 20.94
    • Published

    p-cancelable-cjs

    Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable that supports both ESM & CJS.

    • v4.0.1-1
    • 20.01
    • Published

    exec.js

    A low latency javascript code runner that enables to isolate and abort javascript code execution, including setTimeout/setInterval, promises and Fetch requests. It supports all browsers.

    • v1.6.0
    • 18.14
    • Published

    @ethossoftworks/job

    A simple library for cancellable asynchronous tasks

    • v1.0.3
    • 18.08
    • Published

    cancellable-next-tick

    Wrapper around process.nextTick returning a cancel function

    • v1.0.3
    • 15.11
    • Published

    cp-fetch

    Abortable fetch with timeout support

    • v0.3.2
    • 14.56
    • Published

    rx-cancellable

    Reactive Extensions - represents the state of cancellation

    • v0.3.2
    • 14.40
    • Published

    cp-koa

    enhanced Koa version with cancelable middlewares support

    • v0.2.1
    • 13.79
    • Published

    jfactory

    Easily modularize your application into cancelable components. Everything they initialize can be monitored, stopped and removed automatically, including views, promise chains, requests, listeners, DOM and CSS.

    • v1.7.7
    • 13.63
    • Published

    ullamunde

    A replacement for Typescript's default awaiter helper that supports Bluebird promise cancellations.

    • v1.6.0
    • 13.11
    • Published

    async-cancellables

    CancellationToken and example/utility classes with cancellation support

    • v2.3.0
    • 12.95
    • Published

    deploy-event

    deploy-event make it able to create a cancellable class-based events. (priority can be specified)

    • v1.0.2
    • 11.92
    • Published

    fragile-promise

    A modern Promise implementation with timeout and cancellation using AbortController.

      • v0.3.1
      • 10.96
      • Published

      @shivams136/advanced-promise

      A simple wrapper class for Promise class, which add multiple advanced functionality to the default promise like Aborting, data binding, status checking.

      • v2.1.1
      • 9.68
      • Published

      veritatisquo

      A replacement for Typescript's default awaiter helper that supports Bluebird promise cancellations.

      • v1.5.0
      • 9.21
      • Published

      speculation

      JavaScript promises are made to be broken. Speculations are cancellable promises.

      • v1.0.5
      • 9.11
      • Published

      no-thanks

      Fine-Grained cancellation primitives

      • v1.0.3
      • 8.91
      • Published

      cancellablepromise

      a poly fill that implements a cancellable promise for angular cli polyfill.ts. include it in the polyfill.ts

        • v1.0.1
        • 7.34
        • Published

        p-some-first

        Returns the first Promise in an iterable to resolve

        • v1.1.0
        • 7.10
        • Published

        promise-pinky

        cancellable promises and concurrency

        • v1.0.0-beta.0
        • 5.90
        • Published

        set-time-can

        You've tried setTimeout+promises before but have you tried setTimeout+promises on abortsignal? & setInterval too.

        • v1.0.0
        • 4.53
        • Published

        cancellable.js

        Yet another simple tool for creating cancellable promise-returning/async functions.

        • v1.1.1
        • 4.48
        • Published

        operation-queue

        Cancellable, async serial function execution

        • v1.0.1
        • 4.25
        • Published

        leslie-react

        Define business logic in cancellable, forkable, asynchronous hook tasks

        • v0.1.0-alpha.1
        • 4.20
        • Published

        @winwangqi/fetcher

        An elegant and easy-to-use JavaScript library for managing the request process.

        • v1.0.0
        • 4.20
        • Published

        ijob

        Create asynchronous job that can be cancelled during executing

        • v0.0.10
        • 2.62
        • Published

        @figliolia/promises

        A small promise-wrapping library providing Cancellable and Timed Promises

        • v1.0.1
        • 2.48
        • Published

        use-cancellable-query

        Hooks made based on the useQuery and useMutation of the apollo client, with an extra function to cancel requests.

        • v1.0.2
        • 0.00
        • Published

        jfactory-promise

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

        • v1.7.7
        • 0.00
        • Published

        use-cancelable

        React Hook for creating a cancelable promise. Useful for avoiding state mutations after a component has unmounted

        • v2.0.1
        • 0.00
        • Published

        leslie

        Define business logic in cancellable, forkable, asynchronous javascript generator definitions and promises

          • v1.0.0-alpha.1
          • 0.00
          • Published

          program-flow

          Module for flow oriented usecases with cancellable asynchronous steps

            • v1.0.0
            • 0.00
            • Published

            async-flow-light

            A lightweight library for elegant asynchronous code management

            • v1.0.0
            • 0.00
            • Published