JSPM

Found 85 results for cancellable

p-cancelable

Create a promise that can be canceled

  • v4.0.1
  • 107.40
  • Published

real-cancellable-promise

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

  • v1.2.3
  • 75.35
  • Published

promise-abortable

A little lib for aborting in Promise chain.

  • v1.2.6
  • 55.52
  • Published

rhodium

A TypeScript `Promise` wrapper that adds syntax sugar.

  • v0.5.0
  • 54.87
  • Published

race-cancellation

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

  • v0.5.0
  • 53.17
  • Published

cancelable-awaiter

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

  • v1.0.6
  • 53.07
  • 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.85
  • Published

trashable

A wrapper to make promises cancellable and garbage collectable

  • v1.0.7
  • 52.65
  • Published

@empathyco/x-priority-queue

A priority queue implementation in typescript allowing cancellable elements

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

promist

A dependable promises and async utility belt

  • v6.0.0
  • 48.23
  • Published

dodgy

Optionally abortable, resolvable, and rejectable promises

    • v1.4.0
    • 47.02
    • Published

    c-promise2

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

    • v0.13.12
    • 37.95
    • Published

    @tsdotnet/threading

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

    • v2.0.12
    • 36.64
    • 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.48
    • 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.72
    • Published

    @promise-saga/core

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

    • v0.0.3
    • 32.25
    • 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.78
    • Published

    @bemedev/interval2

    A cancellable interval and timer library for JavaScript and TypeScript.

    • v0.1.3
    • 29.31
    • Published

    xhfetch

    💫 Tiny cancellable fetch

    • v1.0.2
    • 29.00
    • Published

    @aspectus/promise-proxy

    Promise proxiyng mechanics to easily extend promise functionality.

    • v0.10.21
    • 27.96
    • Published

    @aspectus/superagent-fetch

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

    • v0.10.10
    • 25.28
    • Published

    @oxog/delay

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

    • v1.0.3
    • 23.17
    • Published

    cancellable

    Helper for creating cancellable promise-returning functions.

    • v1.2.0
    • 20.85
    • 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
    • 19.97
    • 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.28
    • Published

    @ethossoftworks/job

    A simple library for cancellable asynchronous tasks

    • v1.0.3
    • 17.53
    • Published

    cancellable-next-tick

    Wrapper around process.nextTick returning a cancel function

    • v1.0.3
    • 15.08
    • Published

    cp-fetch

    Abortable fetch with timeout support

    • v0.3.2
    • 14.53
    • Published

    rx-cancellable

    Reactive Extensions - represents the state of cancellation

    • v0.3.2
    • 14.34
    • 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.74
    • Published

    cp-koa

    enhanced Koa version with cancelable middlewares support

    • v0.2.1
    • 13.73
    • Published

    ullamunde

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

    • v1.6.0
    • 13.06
    • Published

    async-cancellables

    CancellationToken and example/utility classes with cancellation support

    • v2.3.0
    • 12.92
    • Published

    deploy-event

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

    • v1.0.2
    • 11.87
    • Published

    fragile-promise

    A modern Promise implementation with timeout and cancellation using AbortController.

      • v0.3.1
      • 10.93
      • 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.88
      • Published

      speculation

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

      • v1.0.5
      • 9.18
      • Published

      veritatisquo

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

      • v1.5.0
      • 9.18
      • Published

      no-thanks

      Fine-Grained cancellation primitives

      • v1.0.3
      • 8.89
      • 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.40
        • Published

        p-some-first

        Returns the first Promise in an iterable to resolve

        • v1.1.0
        • 7.09
        • Published

        promise-pinky

        cancellable promises and concurrency

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

        set-time-can

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

        • v1.0.0
        • 4.52
        • Published

        cancellable.js

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

        • v1.1.1
        • 4.47
        • Published

        leslie-react

        Define business logic in cancellable, forkable, asynchronous hook tasks

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

        @winwangqi/fetcher

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

        • v1.0.0
        • 4.23
        • Published

        operation-queue

        Cancellable, async serial function execution

        • v1.0.1
        • 4.23
        • Published

        leslie

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

          • v1.0.0-alpha.1
          • 2.73
          • 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.47
          • 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

          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