func (s *initFlowSynchronizationImpl) AwaitExternalAgentsRegistered() error {
	return s.externalAgentsRegisteredGate.AwaitGateCondition()
}
AwaitExternalAgentsRegistered awaits for all subscribed agents to report registered
package core
type InitFlowSynchronization interface {
	SetExternalAgentsRegisterCount(uint16) error
	SetAgentsReadyCount(uint16) error
	ExternalAgentRegistered() error
	AwaitExternalAgentsRegistered() error
	RuntimeReady() error
	AwaitRuntimeReady() error
	AgentReady() error
	AwaitAgentsReady() error
	CancelWithError(error)
	Clear()
}
type initFlowSynchronizationImpl struct {
	externalAgentsRegisteredGate Gate
	runtimeReadyGate             Gate
	agentReadyGate               Gate
}
func (s *initFlowSynchronizationImpl) SetExternalAgentsRegisterCount(externalAgentsNumber uint16) error {
	return s.externalAgentsRegisteredGate.SetCount(externalAgentsNumber)
}
func (s *initFlowSynchronizationImpl) SetAgentsReadyCount(agentCount uint16) error {
	return s.agentReadyGate.SetCount(agentCount)
}
func (s *initFlowSynchronizationImpl) AwaitRuntimeReady() error {
	return s.runtimeReadyGate.AwaitGateCondition()
}