10 lines
214 B
Python
10 lines
214 B
Python
config = {
|
|
"name": "HelloEvent",
|
|
"type": "event",
|
|
"subscribes": ["hello.triggered"],
|
|
"emits": []
|
|
}
|
|
|
|
async def handler(input, context):
|
|
context.logger.info(f"Received event: {input['message']}")
|