Home / Companies / Temporal / Blog / Post Details
Content Deep Dive

Community Threads: Is it possible to create an event-based Workflow?

Blog post from Temporal

Post Details
Company
Date Published
Author
Eric O'Rear
Word Count
635
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

In the Temporal community, a user asked if it is possible to create event-based Workflows and how Activities within a Workflow can wait for these events. The answer is yes; Temporal allows creating async Activities within Workflow Definitions using its event loop in Python. By setting up signal handlers and using the `wait_condition` function, it's possible to create an event-based flow where each Activity requires waiting on a specific event or condition before proceeding to the next Activity. This approach ensures that the Workflow can wait for weeks between events, recover from worker crashes, and continue executing Activities as needed.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 3 1,008 161 77 +55%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.