promiseHandle

@ApiStatus.Experimental
suspend fun <T : Any> promiseHandle(key: DurablePromiseKey<T>): DurablePromiseHandle<T>

Create a new DurablePromiseHandle for the provided key.

See also

Throws

if called from a non-Workflow handler or outside of a Restate handler