Skip to content

Function: handleCorrelationResponse()

Makaio Framework


Makaio Framework / bus-core / handleCorrelationResponse

handleCorrelationResponse(message, correlations): boolean

Defined in: ../../../packages/bus-core/src/utils/transport-helpers.ts:72

Handle response messages for correlation tracking.

Processes both regular response and broadcast-response messages, resolving or rejecting the corresponding correlation promise.

BusMessage

Decoded bus message

CorrelationTracker

Correlation tracker instance

boolean

true if the message was a response and was handled