import { Scope } from "https://deno.land/x/momentum@v0.8.2/mvc-handlebars/deps.ts";
Defines the lifetime of a dependency
Members
Custom scoped dependencies allow custom named scopes to be defined. The lifetime of dependencies in a custom scoped are controlled by the owner of the scope.
Injection scoped dependencies are created once per resolve call, and reused within the scope.
This scope is the default.
Request scoped dependencies are created once and reused for the lifetime of a single request.
Singleton scoped dependencies are created once and reused for the lifetime of the application