Skip to main content

install_async_executor

Function install_async_executor 

Source
pub fn install_async_executor(
    executor: Arc<dyn AsyncExecutor>,
    maximum_in_flight: usize,
) -> Result<(), Arc<dyn AsyncExecutor>>
Expand description

Installs the executor for the next generated asynchronous-UDF open generation.

A successful async close permanently shuts that executor down. The XLL must install a fresh executor before reopening; an active or already-pending generation returns the supplied executor unchanged.