* AsyncLocalStorage is only available in Node.js. In Edge/browser contexts * we fall back to a no-op implementation so the logger import doesn't break.
| 9 | * we fall back to a no-op implementation so the logger import doesn't break. |
| 10 | */ |
| 11 | interface Storage<T> { |
| 12 | getStore(): T | undefined |
| 13 | run<R>(store: T, fn: () => R): R |
| 14 | } |
| 15 | |
| 16 | let storage: Storage<RequestContext> |
| 17 |
no outgoing calls
no test coverage detected