arnaud.giuliani
12/16/2019, 2:02 PMsynchronized
/ monitor expression?Kirill Rozov
12/16/2019, 2:19 PMKirill Rozov
12/16/2019, 2:19 PMKirill Rozov
12/16/2019, 2:20 PMinline fun <reified T : Any> ComponentCallbacks.inject(
qualifier: Qualifier? = null,
noinline parameters: ParametersDefinition? = null
) = lazy { get<T>(qualifier, parameters) }
Kirill Rozov
12/16/2019, 2:20 PMlazy(LazyThreadSafetyMode.SYNCHRONIZED) {
get<T>(qualifier, parameters)
}
Kirill Rozov
12/16/2019, 2:21 PMKirill Rozov
12/16/2019, 2:22 PMlazy(LazyThreadSafetyMode.NONE)
) for injectingarnaud.giuliani
12/16/2019, 2:39 PMKirill Rozov
12/16/2019, 2:42 PMKirill Rozov
12/16/2019, 2:42 PMarnaud.giuliani
12/16/2019, 2:50 PMarnaud.giuliani
12/16/2019, 2:50 PMarnaud.giuliani
12/16/2019, 2:51 PMarnaud.giuliani
12/16/2019, 2:51 PMKirill Rozov
12/16/2019, 2:56 PMKirill Rozov
12/16/2019, 2:57 PMarnaud.giuliani
12/16/2019, 3:15 PMarnaud.giuliani
12/16/2019, 3:15 PMKirill Rozov
12/16/2019, 3:30 PMKirill Rozov
12/16/2019, 3:30 PMKirill Rozov
12/16/2019, 3:30 PMarnaud.giuliani
12/16/2019, 3:33 PMarnaud.giuliani
12/16/2019, 3:33 PMKirill Rozov
12/16/2019, 3:41 PMKirill Rozov
12/16/2019, 3:43 PMI’m reworking internal engine to clearly optimize just to lock in on tree resolutionYou need to lock only
scoped
and single
dependncies, because factory need to be created every time and no need to lock thread for resolutionarnaud.giuliani
12/16/2019, 3:49 PMarnaud.giuliani
12/16/2019, 3:50 PMSingleInstanceFactory
& FactoryInstanceFactory
Kirill Rozov
12/16/2019, 6:21 PMKirill Rozov
12/16/2019, 6:38 PMarnaud.giuliani
12/17/2019, 8:17 AM