Function state

Source
pub fn state<T: MarketRepository>(
    api_secret: &str,
    market: T,
) -> (AppState<T>, JoinHandle<Result<(), T::Error>>)
Expand description

Creates the application state and solver background task.