Skip to main content

create_pooled_executor

Function create_pooled_executor 

Source
pub async fn create_pooled_executor(
    python_path: PathBuf,
    worker_count: Option<usize>,
    working_dir: PathBuf,
) -> Result<Box<dyn TestExecutor>>
Expand description

Create a pooled executor with warm workers.

This is async because it needs to spawn and wait for worker processes.