@concepta/nestjs-core
TypeScript icon, indicating that this package has built-in type declarations

4.0.0-alpha.42 • Public • Published

Rockets NestJS Core

The core module is a dependency of all Rockets modules.

Project

NPM Latest NPM Downloads GH Last Commit GH Contrib NestJS Dep

Installation

yarn add @concepta/nestjs-core

Configuration

Available configuration options:

  1. Deferred Registration

Deferred Registration

By default, modules that are registered using .deferred() do not have a timeout set.

If you module wirings make some asynchronous calls that may experience significant delays during start up, it is a good idea to set the global ROCKETS_MODULE_DEFERRED_TIMEOUT environment variable to the number of milliseconds that each module should timeout at.

Examples

Your .env file:

# global deferred timeout
ROCKETS_MODULE_DEFERRED_TIMEOUT=5000

Your shell:

export ROCKETS_MODULE_DEFERRED_TIMEOUT=5000;

Readme

Keywords

none

Package Sidebar

Install

npm i @concepta/nestjs-core

Weekly Downloads

19

Version

4.0.0-alpha.42

License

BSD-3-Clause

Unpacked Size

7.88 kB

Total Files

15

Last publish

Collaborators

  • mrmaz
  • leoafarias