Skip to content

Commit

Permalink
feat: add comment about lazy-loading in utility functions
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Feb 22, 2024
1 parent 231259e commit 638bc6f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export function createSslCredentials(
}

export function createEmptyMetadata(): Metadata {
// Lazy-load so that we don't need to require/import '@grpc/grpc-js' before it can be wrapped by instrumentation.
const {
Metadata,
// eslint-disable-next-line @typescript-eslint/no-var-requires
Expand Down

0 comments on commit 638bc6f

Please sign in to comment.