scoped
Used to define bindings with a scope: bind<MyType>() with scoped(myScope).singleton { /*...*/ }
Parameters
EC
The scope's environment context type.
BC
The scope's Binding context type.
Used to define bindings with a scope: bind<MyType>() with scoped(myScope).singleton { /*...*/ }
The scope's environment context type.
The scope's Binding context type.