launch_cfx_light_async_rpc_servers

Function launch_cfx_light_async_rpc_servers 

Source
pub async fn launch_cfx_light_async_rpc_servers(
    consensus: SharedConsensusGraph,
    tx_pool: SharedTransactionPool,
    data_man: Arc<BlockDataManager>,
    network: Arc<NetworkService>,
    pos_handler: Arc<PosVerifier>,
    accounts: Arc<AccountProvider>,
    light: Arc<LightQueryService>,
    exit: Arc<(Mutex<bool>, Condvar)>,
    executor: TaskExecutor,
    notifications: Arc<Notifications>,
    conf: &Configuration,
    apis: ApiSet,
    is_debug: bool,
) -> Result<Option<RpcServerHandle>, String>