Skip to content

Commit 500a332

Browse files
committed
Update README.md
1 parent 68025ba commit 500a332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class SampleStreamingHandler : LambdaStreamHandler<ByteArray, ByteWriteChannel>
101101

102102
Both `LambdaBufferedHandler` and `LambdaStreamHandler` are suspend functions, so you can use Kotlin coroutines to handle the request in non-blocking way.
103103

104-
Each handler accepts `Context` object which can be used to get information about the function execution environment, such as the request ID, resource limits, and other details. For more details about the context object, see the [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/latest/dg/c-runtime-context.html).
104+
Each handler accepts [`Context`](https://github.com/trueangle/kotlin-native-aws-lambda-runtime/blob/68025bacc26ca075d8d0e9419c45b855a8b4003b/lambda-runtime/src/commonMain/kotlin/io/github/trueangle/knative/lambda/runtime/api/Context.kt#L1) object which can be used to get information about the function execution environment, such as the request ID, resource limits, and other details. For more details about the context object, see the [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/latest/dg/c-runtime-context.html).
105105

106106
### 5. Specify Main Function
107107
Create application entry point using standard `main` function. Call `LambdaRuntime.run` to execute Lambda by passing handler to it.

0 commit comments

Comments
 (0)