Trigger System (Webhooks, Cron, Polling) [High]
Need webhook, cron, polling, and app-specific triggers. Workglow workflows must be started programmatically.
Implementation ideas:
New packages/triggers/ package with ITrigger interface
Concrete triggers: WebhookTrigger (using Hono/Bun.serve), CronTrigger, PollingTrigger
Extend Workflow with .trigger(trigger) and .listen() methods
Trigger System (Webhooks, Cron, Polling) [High]
Need webhook, cron, polling, and app-specific triggers. Workglow workflows must be started programmatically.
Implementation ideas:
New packages/triggers/ package with ITrigger interface
Concrete triggers: WebhookTrigger (using Hono/Bun.serve), CronTrigger, PollingTrigger
Extend Workflow with .trigger(trigger) and .listen() methods