JSPM

Found 82 results for cancellable

p-cancelable

Create a promise that can be canceled

  • v4.0.1
  • 107.81
  • Published

real-cancellable-promise

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

  • v1.2.2
  • 74.34
  • Published

race-cancellation

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

  • v0.5.0
  • 55.15
  • Published

promise-abortable

A little lib for aborting in Promise chain.

  • v1.2.6
  • 53.71
  • Published

cancelable-awaiter

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

  • v1.0.6
  • 52.91
  • Published

trashable

A wrapper to make promises cancellable and garbage collectable

  • v1.0.7
  • 52.38
  • 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.17
  • Published

dodgy

Optionally abortable, resolvable, and rejectable promises

    • v1.4.0
    • 49.56
    • Published

    promist

    A dependable promises and async utility belt

    • v6.0.0
    • 48.97
    • Published

    @empathyco/x-priority-queue

    A priority queue implementation in typescript allowing cancellable elements

    • v1.0.3-alpha.3
    • 47.72
    • Published

    c-promise2

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

    • v0.13.12
    • 39.51
    • 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.17
    • 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
    • 32.62
    • Published

    @aspectus/promise-proxy

    Promise proxiyng mechanics to easily extend promise functionality.

    • v0.10.21
    • 28.54
    • Published

    @aspectus/superagent-fetch

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

    • v0.10.10
    • 27.19
    • Published

    xhfetch

    💫 Tiny cancellable fetch

    • v1.0.2
    • 25.82
    • Published

    @ethossoftworks/job

    A simple library for cancellable asynchronous tasks

    • v1.0.3
    • 23.76
    • Published

    cp-fetch

    Abortable fetch with timeout support

    • v0.3.2
    • 23.41
    • 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
    • 23.09
    • Published

    @tsdotnet/threading

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

    • v1.0.20
    • 20.31
    • Published

    cancellable

    Helper for creating cancellable promise-returning functions.

    • v1.2.0
    • 20.09
    • Published

    cp-koa

    enhanced Koa version with cancelable middlewares support

    • v0.2.1
    • 19.98
    • 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
    • 19.87
    • Published

    cancellable-next-tick

    Wrapper around process.nextTick returning a cancel function

    • v1.0.3
    • 17.80
    • 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
    • 17.39
    • Published

    ijob

    Create asynchronous job that can be cancelled during executing

    • v0.0.10
    • 16.57
    • Published

    rx-cancellable

    Reactive Extensions - represents the state of cancellation

    • v0.3.2
    • 16.30
    • Published

    use-cancelable

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

    • v2.0.1
    • 16.16
    • 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
    • 16.13
    • 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
    • 15.95
    • Published

    ullamunde

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

    • v1.6.0
    • 15.87
    • Published

    speculation

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

    • v1.0.5
    • 15.40
    • Published

    p-some-first

    Returns the first Promise in an iterable to resolve

    • v1.1.0
    • 14.19
    • Published

    cancellablepromise

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

      • v1.0.1
      • 14.01
      • Published

      cancellable.js

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

      • v1.1.1
      • 13.82
      • Published

      @anton.bobrov/p-cancelable

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

      • v4.0.1-1
      • 13.26
      • 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
      • 13.16
      • Published

      async-cancellables

      CancellationToken and example/utility classes with cancellation support

      • v2.3.0
      • 12.94
      • Published

      fragile-promise

      A modern Promise implementation with timeout and cancellation using AbortController.

        • v0.3.1
        • 12.94
        • Published

        leslie

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

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

          deploy-event

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

          • v1.0.2
          • 12.28
          • Published

          promise-pinky

          cancellable promises and concurrency

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

          no-thanks

          Fine-Grained cancellation primitives

          • v1.0.3
          • 12.02
          • Published

          async-flow-light

          A lightweight library for elegant asynchronous code management

          • v1.0.0
          • 11.86
          • Published

          leslie-react

          Define business logic in cancellable, forkable, asynchronous hook tasks

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

          veritatisquo

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

          • v1.5.0
          • 11.41
          • Published

          @winwangqi/fetcher

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

          • v1.0.0
          • 11.10
          • Published

          set-time-can

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

          • v1.0.0
          • 10.51
          • Published

          @figliolia/promises

          A small promise-wrapping library providing Cancellable and Timed Promises

          • v1.0.1
          • 10.39
          • Published

          operation-queue

          Cancellable, async serial function execution

          • v1.0.1
          • 9.81
          • Published

          program-flow

          Module for flow oriented usecases with cancellable asynchronous steps

            • v1.0.0
            • 8.59
            • Published