How do I know if a function has completed execution?

So if I need to make a branch in a function. Can’t export two execution pulse?