deferred-method

JSON →
library 1.0.1 ·javascript maintenance
verified Jun 7, 2026

deferred-method v1.0.1 is a lightweight utility for queueing method calls on an object until a 'ready' condition is met. It listens for a 'ready' event by default, buffering invocations and replaying them in order once the object is ready. Commonly used with async resources like database connections or message queues. Simple API: only one function and minimal overhead. Last updated in 2020, stable with no new releases expected.