ServiceLifecycle: "singleton" | "transient" | "scoped"

Controls how many instances the container creates for a given token.

Value Behaviour
singleton One shared instance for the container's lifetime
transient New instance on every resolve() call
scoped One instance per scope

1.2.0