Skip to main content

execute_instrument_subscriptions

Function execute_instrument_subscriptions 

Source
pub fn execute_instrument_subscriptions(
    members: &[InstrumentId],
    execute: impl FnMut(InstrumentId) -> Result<()>,
) -> Result<()>
Expand description

Executes each instrument operation in order and reports synchronous acceptance.

Validate command-wide settings before calling this function. A member failure does not stop later members; the returned error preserves the first failure and lists only accepted members.

ยงErrors

Returns an error if any member fails, with a SubscriptionError listing accepted members.