Skip to content

loadPackage

reference
1 min readUpdated

Kind: Function

Source: packages/common/utils/load-package.util.ts

Part of: Common

Signature

ts
function loadPackage(packageName: string, context: string, loaderFn: Function)

Parameters

NameType
packageNamestring
contextstring
loaderFnFunction

Used by

16 references from 16 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (16)

  • route — packages/microservices/server/server.ts:168
  • NestApplication — packages/core/nest-application.ts:54
  • IEntryNestModule — packages/core/nest-factory.ts:39
  • ClientGrpcProxy — packages/microservices/client/client-grpc.ts:31
  • ClientKafka — packages/microservices/client/client-kafka.ts:58
  • ClientMqtt — packages/microservices/client/client-mqtt.ts:28
  • ClientNats — packages/microservices/client/client-nats.ts:29
  • ClientRedis — packages/microservices/client/client-redis.ts:28

…and 8 more.

Was this page helpful?

Download as PDF