listenCheckOnce

declare function listenCheckOnce(filterFn: (event: OrderCheckContract) => boolean, fn: (event: OrderCheckContract) => void, warned?: boolean): () => void;

Subscribes to filtered order-check ping events with one-time execution. This is the order CHECK channel — see listenCheck for the full throw semantics (plain Error / OrderTransientError = tolerated "transient" failure bounded by CC_ORDER_CHECK_RETRY_ATTEMPTS, OrderDeletedError = confirmed not-found terminal at once, OrderRejectedError = protocol violation → transient).

Parameter Description
filterFn Predicate to filter which events trigger the callback
fn Callback function to handle the filtered event (called only once). If the function returns a promise, signal processing will wait until it resolves.
warned