flagon-io
/
g1t
/
Files
⌘K
Docs
Sign in
flagon-io
/
g1t
public
Files
Commits
Branches
Tags
Compare
Docs
(soon)
d5df0dea617befd5e31b2f052a2df06157a94b0a
g1t
/
apps
/
web
/
workers
/
async-hooks.d.ts
7 lines
227 bytes
Code
Blame
1
/** The Workers runtime's AsyncLocalStorage (the `nodejs_als` flag). */
2
declare
module
"
node:async_hooks
"
{
3
export
class
AsyncLocalStorage
<
T
>
{
4
run
<
R
>(
store
:
T
,
callback
: () =>
R
):
R
;
5
getStore
():
T
|
undefined
;
6
}
7
}