Interface IsolationExecutionHandle
public interface IsolationExecutionHandle
Live handle for a submitted isolated execution.
Implementations must be thread-safe. await(Duration) may block
until completion or until the caller deadline expires. cancel() is
best-effort for in-process policy work and must terminate the child process
for local process executions.
-
Method Details
-
executionId
-
status
-
await
Waits for the execution to finish.- Parameters:
timeout- caller wait timeout- Returns:
- terminal or latest result
-
cancel
-
result
IsolationExecutionResult result()Returns the latest result without blocking.- Returns:
- latest result snapshot
-