Skip to content

CallbackExecutor

veltix.handler.callback_executor.CallbackExecutor

Executes user callbacks in a thread pool to avoid blocking the recv loop.

submit

submit(func: Callable, *args: Any) -> None

Submit a callback for async execution. Returns immediately.

shutdown

shutdown(wait: bool = True) -> None

Shutdown the executor, optionally waiting for in-progress callbacks.