pub async fn run(
config_toml: String,
secrets: HashMap<String, String>,
build_info: BuildInfo,
addr: SocketAddr,
) -> Result<()>Expand description
Run the API server.
Creates a Session with the given config, starts a background task to
drain workflow messages and broadcast them to WebSocket clients, then
serves the REST + WebSocket + static files on addr.