Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
prefect.cli.events
stream
stream()
emit
emit(event: str)
# Simple event with resource ID $ prefect event emit user.logged_in --resource-id user-123 # Event with payload $ prefect event emit order.shipped --resource-id order-456 --payload '{"tracking": "ABC123"}' # Event with full resource specification $ prefect event emit customer.subscribed --resource '{"prefect.resource.id": "customer-789", "prefect.resource.name": "ACME Corp"}'
Was this page helpful?