Execute functions that return via callback in order, but pause if a function is marked as a gate.