Hi, I am looking for an alternative to createdAtStart().
I have a object X which emits values and three consumers A,B,C which observers the emitted events. There is no reference from X -> A,B,C so I've used createdAtStart() to make sure these objects are around when X starts firing. But this is incurring perf issues on startup.
How can you ensure A,B,C are created when X is created despite X not having a reference to them? I would also like to defer their creation from app start due to performance issues.
w
withoutclass
10/14/2024, 1:39 PM
Make the definition for X call “get<A>” etc
✅ 1
withoutclass
10/14/2024, 1:39 PM
Unless you have to separate module definitions and can’t do that