Skip to main content
Module

x/oak_nest/mod.ts>Scope

Refer to nestjs to realize some common functions for Deno
Go to Latest
enum Scope
Re-export
import { Scope } from "https://deno.land/x/oak_nest@v1.13.15/mod.ts";

Members

DEFAULT = 0

The provider can be shared across multiple classes. The provider lifetime is strictly tied to the application lifecycle. Once the application has bootstrapped, all providers have been instantiated.

REQUEST = 2

A new instance is instantiated for each request processing pipeline

TRANSIENT = 1

A new private instance of the provider is instantiated for every use