Skip to content

Commit d6485a4

Browse files
committed
update step name
1 parent f2bdcb9 commit d6485a4

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,11 @@ Build resilient, long-running AWS Lambda functions that automatically checkpoint
1818
Your durable function extends `DurableHandler<I, O>` and implements `handleRequest(I input, DurableContext ctx)`. The `DurableContext` is your interface to durable operations:
1919

2020
- `ctx.step()` – Execute code and checkpoint the result
21-
- `ctx.stepAsync()` – Start a concurrent step
2221
- `ctx.wait()` – Suspend execution without compute charges
2322
- `ctx.createCallback()` – Wait for external events (approvals, webhooks)
24-
- `ctx.waitForCallback()` – Run an isolated child context with its own checkpoint log
25-
- `ctx.waitForCallbackAsync()` – Start a concurrent child context
23+
- `ctx.waitForCallback()` – Simplify callback handling by combining callback creation and submission in one operation
2624
- `ctx.invoke()` – Invoke another Lambda function and wait for the result
27-
- `ctx.invokeAsync()` – Start a concurrent Lambda function invocation
2825
- `ctx.runInChildContext()` – Run an isolated child context with its own checkpoint log
29-
- `ctx.runInChildContextAsync()` – Start a concurrent child context
3026

3127
## Quick Start
3228

sdk/src/main/java/software/amazon/lambda/durable/DurableContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ public <T> DurableFuture<T> waitForCallbackAsync(
384384
var callback = childCtx.createCallback(
385385
name + "-callback", typeToken, finalWaitForCallbackConfig.callbackConfig());
386386
childCtx.step(
387-
name + "-step",
387+
name + "-submitter",
388388
Void.class,
389389
stepCtx -> {
390390
func.accept(callback.callbackId(), stepCtx);

0 commit comments

Comments
 (0)