Skip to content

Commit c4d2d75

Browse files
committed
docs: clean up
Signed-off-by: will Farrell <[email protected]>
1 parent 7303ee8 commit c4d2d75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/core/executionModeDurableContext.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const executionModeDurableContext = (
1515

1616
// normalize context with executionModeStandard
1717
// https://docs.aws.amazon.com/lambda/latest/dg/typescript-context.html
18+
// Idea: Use Proxy instead of copying. Faster for common use case?
1819
copyKeys(
1920
request.context,
2021
request.context.executionContext,

packages/core/executionModeDurableContext.test.js_

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test("Should return with executionMode:executionModeDurableContext using string"
3131
const runner = new LocalDurableTestRunner({ handlerFunction: handler });
3232

3333
const execution = await runner.run({ payload: input });
34-
34+
//console.log(execution.getError())
3535
equal(execution.getOperations().length, 0);
3636
equal(execution.getStatus(), "SUCCEEDED");
3737
equal(execution.getResult(), input);

website/docs/intro/06-durable-functions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ Middy also supports durable functions.
1111
## Lambda Durable Function Example
1212

1313
```bash npm2yarn
14-
npm install --save @middy/core
15-
npm install --save-dev @aws/durable-execution-sdk-js
14+
npm install --save @middy/core @aws/durable-execution-sdk-js
1615
```
1716

1817
```javascript

0 commit comments

Comments
 (0)