Function createArvoOrchestratorEventFactory

Creates an ArvoOrchestratorEventFactory instance for handling orchestration events. Provides type-safe event creation with parent-child subject relationship handling.

const contract = createArvoOrchestratorContract({ ... });
const factory = createArvoOrchestratorEventFactory(contract.version('1.0.0'));
const event = factory.init({
source: 'system',
data: { parentSubject$$: null, data: 'value' }
});