arvo-event-handler
    Preparing search index...

    Function resolveEventDomain

    • Resolves symbolic domain constants to concrete domain values.

      Interprets domain resolution symbols and returns the appropriate domain string or null. Static domain strings pass through unchanged.

      Parameters

      • param: {
            currentSubject: string;
            domainToResolve: string | null;
            eventContract: VersionedArvoContract<any, any> | null;
            handlerSelfContract: VersionedArvoContract<any, any>;
            parentSubject: string | null;
            triggeringEvent: ArvoEvent;
        }
        • currentSubject: string

          Current event subject

        • domainToResolve: string | null

          Domain string or symbolic constant to resolve

        • eventContract: VersionedArvoContract<any, any> | null

          Contract of the event being emitted (optional)

        • handlerSelfContract: VersionedArvoContract<any, any>

          Contract of the handler emitting the event

        • parentSubject: string | null

          Parent orchestration subject (null for root orchestrations or handlers)

        • triggeringEvent: ArvoEvent

          Event that triggered this emission

      Returns string | null

      Resolved domain string or null