Skip to main content

create_server

Function create_server 

Source
pub async fn create_server(
    config: Config,
    manager: Arc<CredentialManager>,
    adapter_manager: Arc<AdapterInstanceManager>,
    backend_manager: Arc<ExternalBackendManager>,
) -> Result<(Arc<AppState>, Pin<Box<dyn Future<Output = Result<()>> + Send>>)>
Expand description

Create the server and return the state + a future to run