Interface SandboxTaskContext
- All Known Implementing Classes:
SandboxServerContext
@ExperimentalApi
public interface SandboxTaskContext
The execution context for a
SandboxTask.- Since:
- 6.10
-
Method Summary
Modifier and TypeMethodDescription<T,R> R execute(SandboxCallback<T, R> callback, T input) Calls the givenSandboxCallback.voidLogs a message so it will be available for consuming bySandboxErrorConsumerin the host.
-
Method Details
-
execute
Calls the givenSandboxCallback.- Type Parameters:
T- the input type ofSandboxCallbackR- the output type ofSandboxCallback
-
log
Logs a message so it will be available for consuming bySandboxErrorConsumerin the host.
-