JSPM

Found 181 results for abort controller

abort-controller

An implementation of WHATWG AbortController interface.

  • v3.0.0
  • 330.37
  • Published

fast-abort-controller

fast abort controller implementation that can be used as a ponyfill/polyfill

  • v4.0.4
  • 194.25
  • Published

composite-abort-controller

abort controller and abort signal classes that compose multiple abort signals

  • v3.0.5
  • 186.62
  • Published

asynckit

Minimal async jobs utility library, with streams support

  • v0.4.0
  • 108.89
  • Published

p-cancelable

Create a promise that can be canceled

  • v4.0.1
  • 103.71
  • Published

timeout-signal

Create an AbortSignal that aborts after a delay

  • v2.0.0
  • 87.86
  • Published

super-regex

Make a regular expression time out if it takes too long to execute

  • v1.0.0
  • 87.43
  • Published

function-timeout

Make a synchronous function have a timeout

  • v1.0.2
  • 86.08
  • Published

aborter

A minimal reimplementation of AbortController and AbortSignal.

  • v3.0.1
  • 81.57
  • Published

stream-meter

A stream meter that both counts the bytes piped through it, and can optionally abort on a max size. (e.g. limit a http request size)

  • v1.0.4
  • 79.42
  • Published

abortable-iterator

Make any iterator or iterable abortable via an AbortSignal

  • v5.1.0
  • 78.92
  • Published

o-promise

Open Promise 👐 — Micro tool for creating Promise likes Deferred (with AbortController support).

  • v1.4.0
  • 76.53
  • Published

nestjs-abort-controller

AbortController integration for NestJS: request-scoped cancellation using AbortSignal.

  • v1.2.0
  • 70.83
  • Published

gulp-fail

A gulp plugin which forces a task to fail.

  • v2.0.0
  • 59.92
  • Published

@ronomon/queue

Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.

  • v3.0.1
  • 57.29
  • Published

race-abort

utility to race a promise with an abort signal

  • v3.0.3
  • 54.91
  • Published

abort-utils

Utility functions to use and combine `AbortSignal` and `AbortController` with Promises

  • v3.0.0
  • 54.44
  • Published

abort-signal-polyfill

A lightweight polyfill for AbortSignal.any, AbortSignal.timeout, and AbortSignal.abort methods

  • v1.0.0
  • 52.74
  • Published

cancellationtoken

A composable token for cancelling asynchronous operations.

  • v2.2.0
  • 51.00
  • 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
  • 50.32
  • Published

promise-abortable

A little lib for aborting in Promise chain.

  • v1.2.6
  • 50.24
  • Published

controla

Control everythings

  • v0.2.1
  • 50.03
  • Published

@jsxtools/aui

A baseline UI as Mixins, Custom Elements, React Components, etc.

    • v0.0.12
    • 45.86
    • Published

    tangerine

    Tangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS ("DoH") via undici with built-in retries, timeouts, smart server rotation, AbortControllers, and caching support for multiple backends (with TTL and purge sup

    • v1.6.0
    • 45.67
    • Published

    react-ufo

    🛸 UFO - Use fetch orderly - A small collection of react hooks to help you handle data fetching with no fuss 🛸

    • v0.0.7
    • 44.26
    • Published

    @happy-ts/fetch-t

    Abortable fetch wrapper with the ability to specify the return type.

    • v1.3.2
    • 44.17
    • Published

    dodgy

    Optionally abortable, resolvable, and rejectable promises

      • v1.4.0
      • 43.64
      • Published

      exfetch

      Enhanced unfetch API.

      • v1.0.0
      • 42.80
      • Published

      @jcoreio/abortable

      memory-leak-proof function to wrap a promise to reject when a signal is aborted

      • v1.0.2
      • 41.17
      • Published

      gulp-confirm

      Abort or continue the flow of tasks according to an answer (with or without Enter key) to the specified question. The flow of tasks is paused, until the user responds and the next behavior is found by specified options.

      • v1.0.8
      • 41.12
      • Published

      extra-git

      Common utility commands for Git repositories.

      • v1.1.7
      • 40.43
      • Published

      grunt-confirm

      Abort or continue the flow of tasks according to an answer (with or without Enter key) to the specified question. The flow of tasks is paused, until the user responds and the next behavior is found by specified options.

      • v1.0.8
      • 38.48
      • Published

      signal-controller

      A lightweight event emitter with separation of concerns between emitter and listener inspired by the AbortController interface.

        • v0.6.0
        • 37.74
        • Published

        p-signal

        Better way to cancel promises using AbortSignal

        • v5.0.0
        • 37.56
        • Published

        fry-fx

        Create self-cancellable fetch effects

        • v3.1.0
        • 37.19
        • Published

        recursive-cancelable-promise

        A CancelablePromise with the ability to stop a CancelablePromise created in a CancelablePromise

        • v3.0.0
        • 36.19
        • Published

        parallel-universe

        The set of async flow control structures and promise utils.

        • v6.1.2
        • 35.14
        • Published

        ts-ping

        A modern TypeScript library for performing ICMP ping operations with type-safe results and fluent configuration.

        • v1.5.0
        • 34.50
        • Published

        c-promise2

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

        • v0.13.12
        • 34.33
        • Published

        @push.rocks/webrequest

        A module for making secure web requests from browsers with support for caching and fault tolerance.

          • v3.0.37
          • 33.92
          • 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
          • 33.86
          • Published

          @anton.bobrov/p-cancelable

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

          • v4.0.1-1
          • 32.11
          • Published

          ts-chan

          Concurrency primitives for TypeScript and JavaScript.

          • v0.6.0
          • 32.03
          • Published

          @ydbjs/abortable

          Utilities for working with AbortController and AbortSignal in YDB operations.

          • v6.0.1-alpha.32
          • 31.01
          • 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
          • 30.26
          • Published

          @vorthain/vortex

          A modern, highly-configurable API client designed for DX. Works in both browser and Node.js environments.

          • v0.2.8
          • 28.81
          • Published

          enterprise-fetch

          A fetch wrapper to leverage enterprise features such as retry policy and request timeout

          • v1.0.0
          • 28.74
          • Published

          @abortor/core

          Hierarchical cancellation scopes for modern JavaScript runtimes.

            • v0.1.4
            • 28.09
            • Published

            extra-git.sh

            Common utility commands for Git repositories.

            • v2.0.0
            • 27.48
            • Published

            timeout-fetch

            Creates an instance of fetch that aborts after a certain time period.

            • v1.0.0
            • 27.13
            • Published

            cp-axios

            axios wrapper that provides an advanced cancellation api

            • v0.3.1
            • 25.36
            • Published

            use-latest-effect

            A React hook for async effects that ensures only the latest invocation completes and optionally aborts stale runs.

            • v1.0.1
            • 24.95
            • Published

            oh-no-again

            Retry and batching utility with abort, timeout, and concurrency support. Inspired by real-world pain.

            • v0.4.2
            • 24.81
            • Published

            promeister

            Extended promises with a lot of vital features. The AIO Promise class.

            • v1.0.2
            • 24.55
            • Published

            concurrent-clean

            Executes functions concurrently with opportunity to cleanup if any fail.

            • v1.0.1
            • 23.77
            • Published

            multi-signal

            Merges multiple AbortSignals into a single signal. returned signal will be aborted if any of the input signals are aborted.

            • v1.0.3
            • 22.51
            • Published

            @ndriadev/futurable

            Extension Javascript's Promise API with more functionalities

            • v2.3.3
            • 22.43
            • Published

            try-as

            Exception handling for AssemblyScript

            • v0.2.4
            • 22.18
            • Published

            flighty

            Fetch wrapper. Polyfills optional. Aborts, retries, intercepts all in 5kb

            • v1.0.6
            • 21.60
            • Published

            retryable-promise-ts

            A robust, TypeScript-native library for handling async operations with retry logic, timeouts, backoff strategies, and rate limiting

            • v0.0.1
            • 20.66
            • Published

            @as-any/abortable-promise

            An extension of native Promises with true abort capabilities via AbortSignal.

            • v0.0.7
            • 19.26
            • Published

            exec-utils

            A modern promise-based utility for Node.js that enhances child process execution with timeouts, abort signals, input streaming, and consistent error handling.

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

            lunex-http

            A lightweight and flexible REST API client for JavaScript and TypeScript, supporting CommonJS and ES modules (ESM). Features include HTTP methods (GET, POST, PUT, PATCH, DELETE), built-in retry policies with exponential backoff, request lifecycle hooks fo

            • v1.0.0
            • 18.52
            • 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
            • 17.41
            • Published

            axios-promise

            Lightweight Promises/A+ compatible implementation with cancellation, sync mode, timeouts, coroutines and signals support

            • v0.12.3
            • 17.26
            • Published

            use-fetch-with-callbacks

            A powerful React hook for HTTP requests with comprehensive callback support, request chaining, and TypeScript integration

            • v1.4.0
            • 15.87
            • Published

            @consento/promise

            Helpful utilities to work with AbortController/-Signal.

            • v1.0.7
            • 15.74
            • Published

            react-native-http-client

            An axios-based HTTP client for react-native that allows for easily creating API calls and aborting requests.

              • v0.0.8
              • 15.22
              • Published

              sluggard-http

              基于 axios 的多功能请求库,与 axios 使用方式完全兼容,并提供自定义请求别名功能与多种请求控制方法。

                • v1.3.4
                • 15.07
                • Published

                vue-reactive-stateful-promise

                Extends promises with their state, a timeout and make them cancellable, all of that vue reactive

                • v1.0.5
                • 14.84
                • Published

                use-debounce-fetch

                "Debounce fetch and abort previous pending requests"

                • v1.0.9
                • 14.53
                • Published

                suiclient-error-decoder

                A comprehensive error decoder for Sui blockchain transactions with support for custom error codes

                • v1.1.0
                • 13.75
                • Published

                fetch-please

                HTTP-transport that supports Promises and cancelable requests (XHR)

                • v0.4.3
                • 13.75
                • Published

                cp-koa

                enhanced Koa version with cancelable middlewares support

                • v0.2.1
                • 13.24
                • Published

                cp-fetch

                Abortable fetch with timeout support

                • v0.3.2
                • 13.15
                • Published

                range-request-fetcher

                Reliable file fetcher with pause, resume, and abort controls for big files using chunked range requests, retries, and progress tracking

                • v2.2.1
                • 11.66
                • Published

                fragile-promise

                A modern Promise implementation with timeout and cancellation using AbortController.

                  • v0.3.1
                  • 11.66
                  • Published

                  make-abortable

                  Make promises abortable! That's it! :)

                  • v1.0.2
                  • 11.11
                  • Published

                  auto-abort

                  Only keep a single instance, aborting previous instances on subsequent calls

                  • v2.0.0
                  • 11.01
                  • Published

                  @toebean/signals

                  A collection of wrappers and utility functions for working with AbortSignals.

                  • v3.0.0
                  • 10.53
                  • Published

                  abortify

                  Create abortable async functions with ease

                  • v2.0.4
                  • 10.09
                  • Published

                  @awalgawe/spawn

                  A simple promise wrapper for child_process.spawn that lets you process output streams while waiting for completion

                  • v2.1.0
                  • 10.02
                  • Published

                  aico

                  abort in coroutines (promise)

                  • v1.0.1
                  • 9.87
                  • Published

                  big-fetch

                  big fetch will return a primose with a abort function and can set a timeout

                  • v1.0.11
                  • 9.61
                  • Published

                  delayable-idle-abort-promise

                  Race an array of promises against a timer that aborts the race, that can be postponed from the outside

                  • v1.0.0
                  • 9.59
                  • Published

                  fetch-in-chunks

                  A utility for fetching large files in chunks with support for parallel downloads and progress tracking.

                  • v1.3.0
                  • 9.41
                  • Published

                  fetch-friends

                  Common utils for the Fetch API

                  • v1.0.3
                  • 8.98
                  • Published

                  pull-on-abort

                  Catch abort events in pull streams

                  • v0.0.0
                  • 8.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
                  • 8.80
                  • Published

                  cancelable-request

                  Allows you to abort Web requests as and when desired.

                  • v1.0.9
                  • 8.74
                  • Published

                  abort-group

                  Group a set of cancelable actions to be aborted together at any time.

                  • v1.1.2
                  • 8.15
                  • Published

                  abortlisten

                  help to abort eventlistener

                    • v1.0.2
                    • 8.06
                    • Published

                    @borderless/context

                    Tiny, type-safe, JavaScript-native `context` implementation

                    • v2.1.1
                    • 7.52
                    • Published

                    happy-flyio

                    封装flyio的一些方法,添加清除请求clearReq方法,添加取消网络请求abortReq,超时取消请求flyExit方法等。

                      • v0.0.4
                      • 7.37
                      • Published

                      net-abort

                      Add force-close (sending RST) support to net.Socket.

                      • v0.0.3-experimental
                      • 7.33
                      • Published

                      falcon-axios

                      Based on axios secondary encapsulation plug-in, interface caching, interface cancellation, interface disconnection reconnection functions are provided

                      • v0.0.5
                      • 7.33
                      • Published

                      get-element-promise-by-id

                      An implementation of getElementById that returns a promise that waits to resolve when the element will be added to the DOM. Using mutation observer and cancelable with an abort signal or a timeout

                      • v0.1.4
                      • 7.33
                      • Published

                      fetch-pro

                      Elegant Fetch Lib with Power

                      • v0.0.4
                      • 7.28
                      • Published

                      promises-limiter

                      PromisesLimiter is a class for limiting concurrent asynchronous requests, allowing them to be executed in batches with control over progress, handling of successful and failed requests.

                      • v1.0.0
                      • 7.25
                      • Published

                      abortjs

                      Small implementation of AbortController API for easy management of requests cancelation.

                      • v0.0.2
                      • 6.54
                      • Published

                      p-some-first

                      Returns the first Promise in an iterable to resolve

                      • v1.1.0
                      • 6.42
                      • Published

                      theater-flow

                      A library for building flows; safe data processing inspired by Monads

                      • v0.1.2
                      • 6.42
                      • Published

                      apiator

                      ![The awaited response to the request for a shiny new API service.](cover.jpg)

                        • v0.0.6
                        • 6.42
                        • Published

                        @camelliajs/abort-controller

                        <br> <div align="center"> <img src="https://github.com/camelliajs/camellia/blob/master/icons/camellia.png?raw=true" height="128" width="128"/> <h2>Camellia - AbortController</h2> <h6><i>- The library for aborting promises and operations. -

                        • v0.1.2
                        • 6.42
                        • Published

                        zeno-queue

                        Promise based queue with abort functionality

                        • v1.1.1
                        • 6.36
                        • Published

                        cancelable-group

                        Cancelable groups of callback functions

                        • v0.1.0
                        • 5.84
                        • Published

                        request-test

                        Convenience wrapper around Node core requests to easily test whether a request fails or succeeds.

                        • v1.0.0
                        • 5.47
                        • Published

                        @abecodes/promise-helper

                        A useful, zero dependencies toolbox to handle different situations like trigerring sequential Promises, a sequence with pause in between, parallel execution and limited parallel execution

                        • v1.0.0
                        • 4.08
                        • Published

                        cancellation-token

                        JS Cancellation Tokens for composable async cleanup

                        • v1.0.0
                        • 4.07
                        • Published

                        puppy-fetch

                        A small wrapper for the Fetch API that uses the AbortController interface to cancel in-flight fetch requests.

                        • v1.0.11
                        • 4.07
                        • Published

                        batch-handler

                        A simple yet powerful Node.js utility for processing arrays of items in batches with control over concurrency, retries, and cancellation.

                        • v1.1.1
                        • 4.05
                        • Published

                        downloadr

                        File download library

                        • v1.3.0
                        • 4.05
                        • Published

                        set-time-can

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

                        • v1.0.0
                        • 3.54
                        • Published

                        managed-promise

                        A Promise that can be resolved/rejecter at will

                        • v1.0.0
                        • 2.59
                        • Published

                        elegant-ajax

                        参考jQuery Ajax 尝试自己封装一下:

                        • v1.0.0
                        • 2.38
                        • Published

                        @redlotus/super-regex

                        Make a regular expression time out if it takes too long to execute

                          • v1.0.1
                          • 2.37
                          • Published

                          ng-http-canceller

                          This module will help you to cancel $http requests

                          • v0.0.2
                          • 2.37
                          • Published

                          unreq

                          HTTP cancellation propagation library

                          • v0.2.0
                          • 2.36
                          • Published

                          pull-timeout2

                          abort a pull-stream if the rate of flow drops below the specified threshold.

                          • v0.0.2
                          • 2.36
                          • Published

                          concurrentfetcher

                          A javascript class for managing concurrent fetch requests.

                          • v2.0.2
                          • 2.36
                          • Published

                          synchronous-timeout

                          `synchronous-timeout` allows developers to wrap arbitrary synchronous or asynchronous functions so that they can self-abort based on a signal from a worker thread. This is achieved by automatically injecting checks into the function code at the beginning

                            • v1.0.3
                            • 2.36
                            • 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
                            • 2.35
                            • Published

                            simplehttpobservable

                            A simple function for creation of cancelable http observable

                            • v2.1.0
                            • 0.00
                            • Published

                            @joakin/task-queue

                            Task/Job in-process queue with concurrency/capacity/abort/cancelling support

                            • v1.0.1
                            • 0.00
                            • Published

                            react-abort-controller

                            This is a custom hook to help your axios requests to be cancelled when the component is unmounted and even providing you with a function to abort a query at any moment.

                            • v1.0.3
                            • 0.00
                            • Published

                            yc-abort

                            Create an asynchronous function that ensures only the last call is executed.

                            • v0.1.0
                            • 0.00
                            • Published

                            auto-abortable-fetch

                            Automatically interrupt the last same http request

                              • v2.0.1
                              • 0.00
                              • Published