JSPM

Found 181 results for abort

axios-promise

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

  • v0.12.3
  • 17.25
  • Published

use-fetch-with-callbacks

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

  • v1.4.0
  • 16.08
  • Published

@consento/promise

Helpful utilities to work with AbortController/-Signal.

  • v1.0.7
  • 15.78
  • 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.21
    • Published

    sluggard-http

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

      • v1.3.4
      • 15.10
      • 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
      • 14.95
      • 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.83
      • Published

      use-debounce-fetch

      "Debounce fetch and abort previous pending requests"

      • v1.0.9
      • 14.52
      • Published

      suiclient-error-decoder

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

      • v1.1.0
      • 13.74
      • Published

      fetch-please

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

      • v0.4.3
      • 13.74
      • Published

      cp-koa

      enhanced Koa version with cancelable middlewares support

      • v0.2.1
      • 13.23
      • Published

      cp-fetch

      Abortable fetch with timeout support

      • v0.3.2
      • 13.14
      • Published

      @as-any/abortable-promise

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

      • v0.0.7
      • 12.21
      • Published

      signal-controller

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

        • v0.6.0
        • 12.02
        • 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.69
        • Published

        auto-abort

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

        • v2.0.0
        • 11.00
        • Published

        @toebean/signals

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

        • v3.0.0
        • 10.52
        • Published

        fragile-promise

        A modern Promise implementation with timeout and cancellation using AbortController.

          • v0.3.1
          • 10.17
          • 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.89
          • Published

          big-fetch

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

          • v1.0.11
          • 9.60
          • 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.58
          • Published

          fetch-in-chunks

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

          • v1.3.0
          • 9.40
          • 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.79
          • Published

          abortify

          Create abortable async functions with ease

          • v2.0.4
          • 8.78
          • Published

          cancelable-request

          Allows you to abort Web requests as and when desired.

          • v1.0.9
          • 8.77
          • Published

          abort-group

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

          • v1.1.2
          • 8.14
          • Published

          abortlisten

          help to abort eventlistener

            • v1.0.2
            • 8.08
            • Published

            happy-flyio

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

              • v0.0.4
              • 7.36
              • Published

              net-abort

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

              • v0.0.3-experimental
              • 7.32
              • Published

              falcon-axios

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

              • v0.0.5
              • 7.32
              • 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.32
              • Published

              fetch-pro

              Elegant Fetch Lib with Power

              • v0.0.4
              • 7.30
              • 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.27
              • Published

              @borderless/context

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

              • v2.1.1
              • 6.56
              • Published

              make-abortable

              Make promises abortable! That's it! :)

              • v1.0.2
              • 6.42
              • Published

              p-some-first

              Returns the first Promise in an iterable to resolve

              • v1.1.0
              • 6.41
              • Published

              theater-flow

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

              • v0.1.2
              • 6.41
              • Published

              apiator

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

                • v0.0.6
                • 6.41
                • Published

                zeno-queue

                Promise based queue with abort functionality

                • v1.1.1
                • 6.37
                • 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.07
                • 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

                abortjs

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

                • v0.0.2
                • 4.02
                • Published

                managed-promise

                A Promise that can be resolved/rejecter at will

                • v1.0.0
                • 2.58
                • Published

                elegant-ajax

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

                • v1.0.0
                • 2.38
                • 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
                • 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

                    set-time-can

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

                    • v1.0.0
                    • 2.35
                    • 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