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.