Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dario Piotrowicz <[email protected]>
  • Loading branch information
james-elicx and dario-piotrowicz authored Oct 18, 2024
1 parent f500aea commit 0d86245
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { AsyncLocalStorage } from "node:async_hooks";

/**
* Creates a proxy for to use for an instance of AsyncLocalStorage.
* Creates a proxy that exposes values from an AsyncLocalStorage store
*
* @param als AsyncLocalStorage instance.
* @param als AsyncLocalStorage instance
*/
export function createALSProxy<T>(als: AsyncLocalStorage<T>) {
return new Proxy(
Expand Down

0 comments on commit 0d86245

Please sign in to comment.