Table of Contents

Interface IWorkflowContext

Namespace
Restate.Sdk
Assembly
Restate.Sdk.dll

Interface for the workflow run handler. Provides read-write state access and durable promises for coordinating with shared handlers.

public interface IWorkflowContext : IObjectContext, ISharedWorkflowContext, ISharedObjectContext, IContext
Inherited Members

Methods

Promise<T>(string)

Waits for a workflow promise to be resolved.

ValueTask<T> Promise<T>(string name)

Parameters

name string

Returns

ValueTask<T>

Type Parameters

T