Files
motia/steps/event_step.py
2025-10-19 14:57:07 +00:00

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']}")