namespace w4c_workflows.Services.Execution; /// /// Executes task code for one language. Implementations are registered in the /// ; the worker resolves the right executor from a /// job's language field and invokes it inside the sandboxed container. /// public interface IScriptExecutor { /// Language id from the runtime registry ("shell", "csharp", …). string Language { get; } /// Whether the required runtime binary/tool is present on this host. bool IsAvailable(); Task ExecuteAsync(TaskInvocation invocation, CancellationToken ct); }