Search results

37 packages found

An ESnext spec-compliant `DisposableStack`, `AsyncDisposableStack`, `Symbol.dispose`, and `Symbol.asyncDispose` shim/polyfill/replacement that works as far down as ES3.

published version 1.1.7, 6 months ago14 dependents licensed under $MIT
70,929

This package provides two classes for managing locks: `Mutex` and `MutexRW`. These locks can be used to control access to critical sections in a multi-threaded or asynchronous environment.

published version 1.2.1, 4 months ago2 dependents licensed under $MIT
3,431

Polyfill for Symbol.dispose and Symbol.asyncDispose

published version 1.0.2, 2 years ago1 dependents licensed under $MIT
1,279

Rust-like Box and similar objects for TypeScript

published version 4.0.1, 2 days ago18 dependents licensed under $MIT
1,430

Dispose objects using the decorator pattern

published version 5.0.1, a year ago2 dependents licensed under $MIT
736

Generic interface for representing disposable resources or other cleanup.

published version 3.4.1, 5 years ago17 dependents licensed under $Parity-6.0.0
520

A library providing utilities for implementing the Event pattern, facilitating event handling in JavaScript and TypeScript applications. This library is a collection of common utilities for managing events and event handlers using the Event pattern. The i

published version 1.3.1, 9 days ago2 dependents licensed under $MIT
224

A disposable base class and minimal set of interfaces to properly implement an object disposal pattern.

published version 1.1.24, 2 years ago9 dependents licensed under $MIT
399

Run a function with an injected go-like defer helper

published version 1.0.0, 4 years ago1 dependents licensed under $MIT
215

Polyfill for Symbol.dispose and Symbol.asyncDispose

published version 1.0.1, a year ago2 dependents licensed under $ISC
264

Polyfill for DisposableStack and AsyncDisposableStack

published version 1.0.1, a year ago0 dependents licensed under $MIT
132

Bracket monad for fp-ts

published version 0.3.0, 22 days ago1 dependents licensed under $MIT
162

A tiny Angular lifecycle helper library

published version 0.1.12, 3 months ago0 dependents licensed under $MIT
72

Disposiq is a utility collection of Dispose pattern

published version 1.3.4, 2 months ago2 dependents licensed under $MIT
119

A flexible Object Pool that trims the pool down to the specified max size after a specified delay.

published version 1.0.9, 2 years ago4 dependents licensed under $MIT
49

The collection of helpers written with mobx and typescript.

published version 0.8.3, 5 years ago1 dependents licensed under $MIT
72

A library for setting up and disposing services

published version 0.7.0, 7 years ago0 dependents licensed under $MIT
42

A library for caching and memoization. This library provides advanced memoization utils, cache-creating and the ability to freely composing a custom cache.

published version 1.2.2, 4 months ago0 dependents licensed under $ISC
31

React hook for automatic disposal on cancelled components

published version 0.5.0, 4 years ago0 dependents licensed under $MIT
32

TypeScript RAII proof of concept

published version 0.1.3, 6 years ago0 dependents licensed under $MIT
33