Versions in this module Expand all Collapse all v0 v0.8.5 Mar 3, 2026 v0.8.3 Mar 3, 2026 Changes in this version + type APIServer struct + Engine *workflow.Engine + Hub *EventHub + Logger *slog.Logger + Store workflow.StateStore + func NewAPIServer(engine *workflow.Engine, store workflow.StateStore) *APIServer + func (s *APIServer) Handler() http.Handler + type EventHub struct + func NewEventHub(buffer int) *EventHub + func (h *EventHub) CloseRun(runID string) + func (h *EventHub) Emit(ctx context.Context, e workflow.Event) + func (h *EventHub) Subscribe(runID string) (<-chan workflow.Event, func()) + type RunOptionsInput struct + AllowCycles bool + Concurrency int + FailFast *bool + RunID string + Start []string + type RunRequest struct + Definition json.RawMessage + Options *RunOptionsInput + type RunResponse struct + RunID string + Status string + WorkflowID string