p-cancelable
Create a promise that can be canceled
Found 181 results for abort promise
Create a promise that can be canceled
Open Promise 👐 — Micro tool for creating Promise likes Deferred (with AbortController support).
A little lib for aborting in Promise chain.
abortable timeout promise
A Simple Implementation of Abortable Promise
utility to race a promise with an abort signal
memory-leak-proof function to wrap a promise to reject when a signal is aborted
> Hook for managing abortable `Promise`s (e.g. [fetch()](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)) inside React components.
The set of async flow control structures and promise utils.
Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.
Cancelable promise with progress capturing, pause, timeouts, signals, data flows and decorators support
Abortable async function helpers
Minimal async jobs utility library, with streams support
An implementation of WHATWG AbortController interface.
A TypeScript library for creating abortable promises with ease.
Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable
Extended promises with a lot of vital features. The AIO Promise class.
Extension Javascript's Promise API with more functionalities
Utility functions to use and combine `AbortSignal` and `AbortController` with Promises
Create an AbortSignal that aborts after a delay
Make a regular expression time out if it takes too long to execute
Make a synchronous function have a timeout
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)
Make any iterator or iterable abortable via an AbortSignal
Promise subclass to make the promise chain abortable.
A gulp plugin which forces a task to fail.
Optionally abortable, resolvable, and rejectable promises
A composable token for cancelling asynchronous operations.
Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.
Abortable helpers for RxJS
Control everythings
A CancelablePromise with the ability to stop a CancelablePromise created in a CancelablePromise
A robust, TypeScript-native library for handling async operations with retry logic, timeouts, backoff strategies, and rate limiting
🛸 UFO - Use fetch orderly - A small collection of react hooks to help you handle data fetching with no fuss 🛸
A modern promise-based utility for Node.js that enhances child process execution with timeouts, abort signals, input streaming, and consistent error handling.
An implementation of WHATWG AbortController interface.
A minimal reimplementation of AbortController and AbortSignal.
Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable that supports both ESM & CJS.
abort promise
Lightweight Promises/A+ compatible implementation with cancellation, sync mode, timeouts, coroutines and signals support
Reactive store primitive and helpers
promise utils
Asynchronous versions of the `useEffect` and` useCallback` hooks that able to cancel internal code by user requests or component unmounting
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
A baseline UI as Mixins, Custom Elements, React Components, etc.
A modern Promise implementation with timeout and cancellation using AbortController.
abort in coroutines (promise)
A cancelable promise.
Abortable fetch wrapper with the ability to specify the return type.
A simple wrapper class for Promise class, which add multiple advanced functionality to the default promise like Aborting, data binding, status checking.
Project breakable-promise
Helpful utilities to work with AbortController/-Signal.
Enhanced unfetch API.
Better way to cancel promises using AbortSignal
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.
Common utility commands for Git repositories.
An extension of the Promise class that allows for cancellation.
A modern TypeScript library for performing ICMP ping operations with type-safe results and fluent configuration.
fast abort controller implementation that can be used as a ponyfill/polyfill
axios wrapper that provides an advanced cancellation api
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.
Extends promises with their state, a timeout and make them cancellable, all of that vue reactive
A fetch wrapper to leverage enterprise features such as retry policy and request timeout
Concurrency primitives for TypeScript and JavaScript.
A lightweight polyfill for AbortSignal.any, AbortSignal.timeout, and AbortSignal.abort methods
Combine multiple AbortControllers or AbortSignals into a single instance
abort controller and abort signal classes that compose multiple abort signals
A module for making secure web requests from browsers with support for caching and fault tolerance.
A simple promise wrapper for child_process.spawn that lets you process output streams while waiting for completion
Utilities for working with AbortController and AbortSignal in YDB operations.
Abortable async function helpers
An extension of native Promises with true abort capabilities via AbortSignal.
Cancelable `pump`
A modern, highly-configurable API client designed for DX. Works in both browser and Node.js environments.
Cancelable `stream.pipeline()`
Fetch wrapper. Polyfills optional. Aborts, retries, intercepts all in 5kb
Hierarchical cancellation scopes for modern JavaScript runtimes.
Common utility commands for Git repositories.
Auto add an AbortController on all Fastify Request
Promise based queue with abort functionality
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
Create self-cancellable fetch effects
async utilities
AbortController integration for NestJS: request-scoped cancellation using AbortSignal.
Abortable Promises for everyone !
A React hook for async effects that ensures only the latest invocation completes and optionally aborts stale runs.
Retry and batching utility with abort, timeout, and concurrency support. Inspired by real-world pain.
Cancelable promise
Executes functions concurrently with opportunity to cleanup if any fail.
Creates an instance of fetch that aborts after a certain time period.
Race an array of promises against a timer that aborts the race, that can be postponed from the outside
A cancellable promise polling
Merges multiple AbortSignals into a single signal. returned signal will be aborted if any of the input signals are aborted.
Returns the first Promise in an iterable to resolve
Exception handling for AssemblyScript
An AbortController that aborts after a specified timeout
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.
Abortable fetch with timeout support
RxJS WithAbort Function
Queue of abortable promises
Backbone.sync decorator for aborting pending requests
HTTP-transport that supports Promises and cancelable requests (XHR)
A powerful React hook for HTTP requests with comprehensive callback support, request chaining, and TypeScript integration
Useful React hooks written in Typescript
"Debounce fetch and abort previous pending requests"
A lightweight event emitter with separation of concerns between emitter and listener inspired by the AbortController interface.
big fetch will return a primose with a abort function and can set a timeout
hapi abort
enhanced Koa version with cancelable middlewares support
An axios-based HTTP client for react-native that allows for easily creating API calls and aborting requests.
Abort promises and async iterables
基于 axios 的多功能请求库,与 axios 使用方式完全兼容,并提供自定义请求别名功能与多种请求控制方法。
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
Reliable file fetcher with pause, resume, and abort controls for big files using chunked range requests, retries, and progress tracking
Create abortable async functions with ease
A comprehensive error decoder for Sui blockchain transactions with support for custom error codes
fetch abort
Library to write cancellable chain of Promises, using the This-Binding Syntax proposal.
A utility for fetching large files in chunks with support for parallel downloads and progress tracking.
A Promise that can be resolved/rejecter at will
Improvements over isomorphic-fetch.
An implementation of WHATWG AbortController interface. (Ported to Roblox-TS)
Only keep a single instance, aborting previous instances on subsequent calls
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
Common utils for the Fetch API
abortable interval
A collection of wrappers and utility functions for working with AbortSignals.
Fetch controller polyfill
Make promises abortable! That's it! :)
Promise where the whole tree can be awaited, canceled and expired. Provides synchronous status, explorable chain map, shared data, debug data and trace.
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.
Create a promise that can be canceled
Catch abort events in pull streams
Allows you to abort Web requests as and when desired.
Group a set of cancelable actions to be aborted together at any time.
help to abort eventlistener

封装flyio的一些方法,添加清除请求clearReq方法,添加取消网络请求abortReq,超时取消请求flyExit方法等。
Add force-close (sending RST) support to net.Socket.
Based on axios secondary encapsulation plug-in, interface caching, interface cancellation, interface disconnection reconnection functions are provided
Elegant Fetch Lib with Power
This library provides you ability to cancel async function
ReasonML for WHATWG's Abort Controller (with polyfill)
Tiny, type-safe, JavaScript-native `context` implementation
A library for building flows; safe data processing inspired by Monads
Cancelable groups of callback functions
Convenience wrapper around Node core requests to easily test whether a request fails or succeeds.
Small implementation of AbortController API for easy management of requests cancelation.
An implementation of WHATWG AbortController interface.
RxJS AbortController-compatible defer operator
A simple yet powerful Node.js utility for processing arrays of items in batches with control over concurrency, retries, and cancellation.
> React Hook for abandoning promises upon component unmounting
An implementation of WHATWG AbortController interface.
JS Cancellation Tokens for composable async cleanup
Native AbortController manager.
A small wrapper for the Fetch API that uses the AbortController interface to cancel in-flight fetch requests.
File download library
You've tried setTimeout+promises before but have you tried setTimeout+promises on abortsignal? & setInterval too.
A javascript class for managing concurrent fetch requests.
参考jQuery Ajax 尝试自己封装一下:
<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. -
This module will help you to cancel $http requests
Make a regular expression time out if it takes too long to execute
An implementation of WHATWG AbortController interface.
HTTP cancellation propagation library
abort a pull-stream if the rate of flow drops below the specified threshold.
`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
A simple function for creation of cancelable http observable
Abort API
This library provides you ability to cancel async function
Task/Job in-process queue with concurrency/capacity/abort/cancelling support
abort stream of promises on any response
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.
Create an asynchronous function that ensures only the last call is executed.
Automatically interrupt the last same http request
Convert a Promise to a AbortSignal
A simple countdown timer CLI application
> React component for rendering children according to a promise
An implementation of WHATWG AbortController interface.