pub type ExternalTaskExecutor = Arc<dyn Fn(&str, Bytes) -> Pin<Box<dyn Future<Output = Result<Bytes, BoxError>> + Send>> + Send + Sync>;Expand description
External task executor function signature.
Receives the task ID and input bytes, returns the output bytes. Used by language bindings (Python, Node.js) to delegate task execution to the host language’s runtime.
Aliased Type§
pub struct ExternalTaskExecutor { /* private fields */ }