[][src]Function sc_service::client::new_in_mem

pub fn new_in_mem<E, Block, S, RA>(
    executor: E,
    genesis_storage: &S,
    keystore: Option<BareCryptoStorePtr>,
    prometheus_registry: Option<Registry>,
    spawn_handle: Box<dyn SpawnNamed>,
    config: ClientConfig
) -> Result<Client<Backend<Block>, LocalCallExecutor<Backend<Block>, E>, Block, RA>> where
    E: CodeExecutor + RuntimeInfo,
    S: BuildStorage,
    Block: BlockT

Create an instance of in-memory client.