Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
defer
/
src
Robust TypeScript API for deferred handling of Promises. Supports event listeners and custom state-specific callbacks.
nberlette/defer
Version
Latest
0.6.0
0.5.9
Index
defer.ts
event_handlers.d.ts
event_listeners.d.ts
events.ts
state.ts