rocketraman
09/16/2024, 2:26 PMSet
. Is this a good pattern, or is there a cleaner approach?
singleton { new(::Foo) }.let {
bind<IFace1>().inSet() with it
bind<IFace2>() with it
}
Looks pretty clean to me but want to make sure I'm not missing something.ian.shaun.thomas
09/17/2024, 2:56 PM