Skip to content

Commit 7a66260

Browse files
committed
fix: expose event constants
1 parent 4f9cd93 commit 7a66260

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

observability.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ import (
1515
type EventKind string
1616

1717
const (
18+
// EventDispatchStarted indicates workflow dispatch began.
19+
EventDispatchStarted EventKind = "dispatch_started"
20+
// EventDispatchSucceeded indicates workflow dispatch completed successfully.
21+
EventDispatchSucceeded EventKind = "dispatch_succeeded"
22+
// EventDispatchFailed indicates workflow dispatch failed before handler execution.
23+
EventDispatchFailed EventKind = "dispatch_failed"
1824
// EventEnqueueAccepted indicates a job was accepted for enqueue.
1925
EventEnqueueAccepted EventKind = "enqueue_accepted"
2026
// EventEnqueueRejected indicates enqueue failed.

0 commit comments

Comments
 (0)