arnaud.giuliani
09/26/2018, 7:30 PMscope
definition tied to the same scope Idpavlospt
09/26/2018, 9:14 PMpavlospt
09/26/2018, 9:16 PMval someModule = module("A) {
single { Foo() }
single { Bar() }
single { Qux() }
}
and then just release("A")
pavlospt
09/26/2018, 9:16 PMscope
nowpavlospt
09/28/2018, 8:20 PMarnaud.giuliani
09/30/2018, 7:32 AMval someModule = module("A) {
scope("A") { Foo() }
scope("A") { Bar() }
scope("A") { Qux() }
}
use the createScope("A")
, inject or get Foo Bar
and close scope “A”pavlospt
09/30/2018, 11:26 AMpavlospt
09/30/2018, 11:27 AM