JSPM

Found 98 results for cancelable

p-cancelable

Create a promise that can be canceled

  • v4.0.1
  • 111.05
  • Published

@breejs/later

Maintained fork of later. Determine later (or previous) occurrences of recurring schedules

  • v4.2.0
  • 79.68
  • Published

real-cancellable-promise

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

  • v1.2.3
  • 69.67
  • Published

bree

The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelab

  • v9.2.4
  • 66.55
  • Published

usetimeout-react-hook

React.js custom hook that sets a leak-safe timeout and returns a function to cancel it before the timeout expires.

  • v0.1.2
  • 60.57
  • 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.84
  • Published

@mintplex-labs/bree

A fork of BreeJS/bree. A Node.js and JavaScript task scheduler with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads or process forks, and supports async/await, retries, throttling, concurrency, and cancela

  • v9.2.5
  • 51.23
  • Published

makecancelable

Yet another makeCancelable Promise wrapper

  • v1.1.1
  • 50.12
  • Published

cancelable-awaiter

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

  • v1.0.6
  • 49.52
  • Published

dodgy

Optionally abortable, resolvable, and rejectable promises

    • v1.4.0
    • 47.33
    • Published

    c-promise2

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

    • v0.13.12
    • 38.51
    • Published

    p-signal

    Better way to cancel promises using AbortSignal

    • v5.0.0
    • 37.36
    • Published

    fettuccine-class

    A class to create a new fettuccine wrapper that defaults to the given options

    • v2.0.0
    • 35.38
    • 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.24
    • Published

    trashable-react

    A HOC to make React Components garbage collectable when unmounted.

    • v1.1.0
    • 31.93
    • 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.77
    • Published

    cancel.it

    Cancelable promise

    • v0.2.2
    • 28.40
    • Published

    cp-axios

    axios wrapper that provides an advanced cancellation api

    • v0.3.1
    • 26.63
    • Published

    t-tasks

    T-Tasks provides a Task quasi-monad, allowing to schedule, cancel and externally reject async operations in a composable, semi-functional way.

    • v1.1.1
    • 25.43
    • Published

    t-hooks

    T-Hooks provides a set of react hooks built upon T-Tasks library. Using task hooks instead of conventional lifecycle hooks alows easier usage of asynchronous operations withing hooks and provides automatic operation cancelation in case of hook unmounting

    • v1.1.0
    • 24.88
    • Published

    cancelable

    Cancelable functions (Underscore/Lodash compatible)

    • v0.1.0
    • 24.80
    • Published

    @ndriadev/futurable

    Extension Javascript's Promise API with more functionalities

    • v2.3.3
    • 24.33
    • Published

    recursive-cancelable-promise

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

    • v3.0.0
    • 22.82
    • Published

    @conodene/usetimeout-react-hook

    React.js custom hook that sets a leak-safe timeout and returns a function to cancel it before the timeout expires.

    • v0.1.5
    • 22.37
    • 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.96
    • Published

    posterus

    Composable async primitives (tasks) with cancelation and control over scheduling. Includes optional courotune implementation.

    • v0.6.1
    • 19.95
    • Published

    more-proms

    A collection of additional promise extending classes. Including a (from the outside) ResablePromise, CancelAblePromise and a latestLatent utility function.

    • v1.9.7
    • 17.68
    • Published

    axios-promise

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

    • v0.12.3
    • 16.19
    • Published

    cp-fetch

    Abortable fetch with timeout support

    • v0.3.2
    • 14.75
    • Published

    aico

    abort in coroutines (promise)

    • v1.0.1
    • 14.59
    • Published

    fetch-please

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

    • v0.4.3
    • 14.29
    • Published

    cp-koa

    enhanced Koa version with cancelable middlewares support

    • v0.2.1
    • 14.20
    • 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

    dynamic-tasks

    基于promise的高性能任务库

    • v1.2.1
    • 13.57
    • Published

    cancelify

    A library for making async operations cancellable

    • v0.1.5
    • 12.30
    • Published

    tiny-delay

    Changeable and cancelable promise based delay / setTimeout implementation.

    • v1.2.0
    • 12.00
    • Published

    event-chains

    An cancelable / singleEvent supported EventEmitter replacement

    • v0.0.8
    • 11.39
    • Published

    @swatk6/emitter

    A drop-in replacement for EventEmitter that can work with cancelable event objects, and a base Emitter class that implements a parent/child architecture and event tree traversal.

    • v1.1.0
    • 10.89
    • Published

    exectx-axios

    Integration for `exectx` with `axios`

    • v0.1.0
    • 10.81
    • Published

    run-time-opti

    基于promise的高性能任务库

    • v1.2.3
    • 10.32
    • Published

    @qgustavor/later

    ES Modules fork of later. Determine later (or previous) occurrences of recurring schedules

    • v5.0.2
    • 10.21
    • Published

    safe-flow

    A safer way to cancel or interrupt the await-async flow.

    • v0.3.6
    • 9.54
    • Published

    cancelable-request

    Allows you to abort Web requests as and when desired.

    • v1.0.9
    • 9.18
    • 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.14
    • Published

    exectx

    Cancelable contexts and executions

    • v0.1.0
    • 9.08
    • Published

    esimorp

    Inside Out Promises

    • v0.1.1
    • 8.44
    • Published

    react-promise-cancelable

    React Higher-Order Component to handle promise cancelation when the component unmounts

    • v1.0.2
    • 7.90
    • Published

    p-some-first

    Returns the first Promise in an iterable to resolve

    • v1.1.0
    • 7.20
    • Published

    make-cancelable-task

    This lib will make function, promise cancelable and make axios request cancelable

      • v0.1.13
      • 7.20
      • Published

      soft-promise

      The escapeable promise

      • v0.0.13
      • 6.68
      • Published

      mobx-safe-flow

      Mobx asynchronous actions are integrated into safe-flow.

      • v0.0.5
      • 6.68
      • Published

      pariaturfacere

      The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v10+ and browsers (thanks to bthreads polyfill), uses workers to spawn sandboxed processes, and supports async/await, retries, thrott

      • v1.2.1
      • 6.00
      • Published

      exectx-react

      React utilities for cancelable contexts and executions

      • v0.1.0
      • 5.87
      • Published

      cancelable-group

      Cancelable groups of callback functions

      • v0.1.0
      • 5.81
      • Published

      @neutronstarer/cancelable

      Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.

      • v4.2.0
      • 5.58
      • Published

      pcancel

      Wrap promise function into cancelable promise function

      • v0.2.0
      • 4.54
      • Published

      cancelbl

      Yet another make-cancelable Promise wrapper

      • v1.0.1
      • 4.54
      • 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.37
      • Published

      set-time-can

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

      • v1.0.0
      • 4.22
      • Published

      recurringtasks

      Javascript manager to handle recurring parallel tasks

      • v1.0.2
      • 4.21
      • Published

      @kennyldev/usetimeout-react-hook

      React.js custom hook that sets a leak-safe timeout and returns a function to cancel it before the timeout expires.

      • v1.0.1
      • 2.57
      • 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.47
      • Published

      http-conn

      Small lib HTTP client for the browser, Promise based and cancelable.

      • v1.0.9
      • 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

      chalona-http

      para consultar al servidor

      • v1.0.6
      • 0.00
      • Published

      usetrashable

      A custom hook to cancel unresolved promises when a component unmounts to prevent memory leaks

      • v1.0.1
      • 0.00
      • Published

      reactive-lazy-pipe

      tiny functional lazy pipe operator with a lot of flexibility and clean api

      • v1.0.0-beta.2
      • 0.00
      • Published