flagon-io
/
g1t
/
Files
⌘K
Docs
Sign in
flagon-io
/
g1t
public
Files
Commits
Branches
Tags
Compare
Docs
(soon)
f47f9da1b12f4d37603b4ed1687f17a5a96fd2c0
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
}