Skip to main content

dispatch_order_status_report

Function dispatch_order_status_report 

Source
pub fn dispatch_order_status_report(
    report: &OrderStatusReport,
    state: &WsDispatchState,
    emitter: &ExecutionEventEmitter,
    ts_init: UnixNanos,
) -> DispatchOutcome
Expand description

Dispatches an [OrderStatusReport] using the two-tier routing contract.

Returns DispatchOutcome::Tracked when the report maps to a tracked order (typed events have been emitted or dedup hit), External when the caller should forward the report as an untracked fallback, or Skip when the report is a stale / race leg that must be dropped.