Class decorator that registers the decorated type with the Transient scope.
Use this scope when you want a fresh instance every time the class is resolved.
Example:
@TransientScoped()class Wand { // ...} Copy
@TransientScoped()class Wand { // ...}
Class decorator that registers the decorated type with the Transient scope.
Use this scope when you want a fresh instance every time the class is resolved.
Example: