Appearance
useContext
Provides global access to the current execution AWS Context.
Usage
import { useContext } from '@serverless-use/core'
const { context, id } = useExecution()
// AWS Request ID for this execution
console.log(id)
// AWS lambda function name
console.log(context.functionName )