Skip to main content

register_trading_command_endpoint

Function register_trading_command_endpoint 

Source
pub fn register_trading_command_endpoint(
    endpoint: MStr<Endpoint>,
    handler: TypedIntoHandler<TradingCommand>,
)
Expand description

Registers a trading command handler at an endpoint (ownership-based).