Fork me on GitHub
#component
<
2018-07-25
>
guy11:07:42

With a system map, when u have system using, how do you know which component will be started first and last?

gfredericks12:07:56

I don't think it should matter as long as all your dependencies are declared

gfredericks12:07:20

why would you have an ordering requirement that doesn't correspond to a dependency?

gfredericks12:07:51

(even if you do, you could add an artificial dependency to enforce the ordering)

guy12:07:50

I have a builder which starts first, then a stream that starts next, which both go into a topology. I think that as the topology has the most deps it will start later, is that correct?

guy12:07:10

>why would you have an ordering requirement that doesn’t correspond to a dependency? I’m not sure what you mean sorry

guy12:07:29

I think i haven’t understood the concept of the component starting vs ordering correctly

gfredericks12:07:13

if component A depends (in the system/using sense) on component B, then component B will always start first

gfredericks12:07:33

when the start function is called on a component, all its dependencies are present and have already started

guy13:07:24

Got ya thanks very much

guy13:07:40

I sort of knew that, but didnt know it if thats makes sense haha

guy13:07:54

Thanks again!