InvocationHandle

sealed interface InvocationHandle<Res>

An invocation handle, that can be used to interact with a running invocation.

Functions

Link copied to clipboard
abstract suspend fun attach(): DurableFuture<Res>

Attach to this invocation. This will wait for the invocation to complete

Link copied to clipboard
abstract suspend fun cancel()

Cancel this invocation.

Link copied to clipboard
abstract suspend fun invocationId(): String
Link copied to clipboard
abstract suspend fun output(): Output<Res>