Skip to main content
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
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
evt
/
docs
/
SUMMARY.md
💧EventEmitter's typesafe replacement
garronej/evt
Version
v2.5.7
v2.5.6
v2.5.5
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.23
v2.4.22
v2.4.21
v2.4.21-rc.0
v2.4.20
v2.4.19
v2.4.18
v2.4.17
v2.4.16
v2.4.15
v2.4.13
v2.4.11
v2.4.10
v2.4.8
v2.4.7
v2.4.6
v2.4.5
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.1
v2.1.0
v2.0.0
v1.11.2
v1.11.1
v1.11.0
v1.10.2
v1.10.1
v1.10.0
v1.9.14
v1.9.13
v1.9.12
v1.9.11
v1.9.10
v1.9.9
v1.9.8
v1.9.7
v1.9.6
v1.9.5
v1.9.4
v1.9.3
v1.9.2
v1.9.1
v1.9.0
v1.8.11
v1.8.10
v1.8.9
v1.8.8
v1.8.7
v1.8.6
v1.8.5
v1.8.4
v1.6.8
v1.6.7
v1.6.6
v1.6.5
v1.6.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.14
1.7.13
1.7.12
1.7.11
1.7.10
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
Go to Latest
File
Table of contents
Why EVT ?
Overview
API Documentation
Operator<T, U> (type)
Evt<T>
evt.[$]attach*(…)
evt.post*(data)
evt.waitFor(…)
evt.evt[Attach|Detach]
evt.pipe(…)
evt.getHandlers()
evt.isHandled(data)
evt.detach([ctx])
evt.enableTrace(…)
evt.setMaxHandlers(n)
toStateful(initialState)
evt.getStatelessOp(op)
Evt.create(initalState?)
Evt.newCtx<T>()
Evt.getCtx(object)
Evt.from<T>(…)
Evt.useEffect(…)
Evt.merge([ evt1, evt2, … ])
Evt.loosenType(evt)
Evt.factorize(evt)
Evt.asPostable(evt)
Evt.asNonPostable(evt)
Evt.setDefaultMaxHandlers(n)
Ctx<T>
StatefulEvt<T>
Helper types
Handler<T, U> (type)