resume

infix fun <C, R, S : Any> StatefulSagaExecutor<C, R, S>.resume(id: String): ResumeId<C, R, S>

First half of the saga resume "id" with ctx DSL chain.

Returns a ResumeId wrapper that carries the executor and run identifier. The call completes when with(ctx) is invoked on the returned wrapper.

Usage

val outcome = saga resume "order-42" with context

Desugars to: saga.resume(RunId("order-42"), context)

Return

ResumeId — the intermediate value for the with connective.

Parameters

id

The run identifier string. Wrapped in RunId before calling the typed API.