loom_defi_price::price_actor

Function price_worker

Source
async fn price_worker<N: Network, T: Transport + Clone, P: Provider<T, N> + Clone + 'static>(
    client: P,
    market: SharedState<Market>,
    once: bool,
) -> WorkerResult