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
/
effection
/
lib
/
mod.ts
>
Resolve
Structured concurrency and effects for JavaScript
thefrontside/effection
Version
Latest
4.0.0-alpha.1
4.0.0-alpha.0
3.0.3
3.0.0-alpha.0-test
3.0.2
3.0.1
3.0.0
3.0.0-beta.5
3.0.0-beta.4
3.0.0-beta.3
3.0.0-beta.2
3.0.0-beta.1
3.0.0-beta.0
3.0.0-alpha.15
3.0.0-alpha.14
3.0.0-alpha.13
3.0.0-alpha.12
3.0.0-alpha.11
3.0.0-alpha.10
3.0.0-alpha.9
3.0.0-alpha.8
3.0.0-alpha.7
3.0.0-alpha.6
3.0.0-alpha.5
3.0.0-alpha.4
3.0.0-alpha.3
3.0.0-alpha.2
3.0.0-alpha.1
3.0.0-alpha.0
Menu
mod.ts
(default module)
I
Callable
I
Channel
I
Context
I
Future
I
Operation
I
Provide
I
Queue
I
Scope
I
ScopeInternal
I
Signal
I
Subscription
I
Task
I
WithResolvers
T
Stream
T
Yielded
f
action
f
all
f
call
f
createChannel
f
createContext
f
createQueue
f
createScope
f
createScopeInternal
f
createSignal
f
each
f
ensure
f
exit
f
lift
f
main
f
on
f
once
f
race
f
resource
f
run
f
sleep
f
spawn
f
stream
f
subscribe
f
suspend
f
useAbortSignal
f
useScope
f
withResolvers
abort-signal.ts
f
useAbortSignal
action.ts
f
action
all.ts
f
all
async.ts
f
stream
f
subscribe
call.ts
I
Callable
f
call
callcc.ts
f
callcc
channel.ts
I
Channel
f
createChannel
constant.ts
f
constant
context.ts
f
createContext
contexts.ts
v
Children
v
Generation
v
Routine
coroutine.ts
I
CoroutineOptions
f
createCoroutine
f
useCoroutine
drain.ts
f
drain
each.ts
f
each
ensure.ts
f
ensure
events.ts
f
on
f
once
lazy-promise.ts
f
lazyPromise
f
lazyPromiseWithResolvers
lift.ts
f
lift
main.ts
f
exit
f
main
maybe.ts
T
Maybe
f
Just
f
Nothing
queue.ts
I
Queue
f
createQueue
race.ts
f
race
reducer.ts
c
Reducer
v
ReducerContext
resource.ts
I
Provide
f
resource
result.ts
run.ts
f
run
scope.ts
I
ScopeInternal
f
createScope
f
createScopeInternal
f
useScope
signal.ts
I
Signal
f
createSignal
sleep.ts
f
sleep
spawn.ts
f
spawn
suspend.ts
f
suspend
task.ts
I
NewTask
I
TaskOptions
v
TaskGroupContext
f
createTask
f
encapsulate
f
trap
types.ts
I
Context
I
Future
I
Operation
I
Scope
I
Subscription
I
Task
T
Stream
T
Yielded
with-resolvers.ts
I
WithResolvers
f
withResolvers