diff --git a/event/bus.go b/event/bus.go index 028bde7b9ccc5b4450e1f039c65ac12d9fc99085..9dcf9378229eea6bf4b5d0e43d45752d117cc6f1 100644 --- a/event/bus.go +++ b/event/bus.go @@ -19,7 +19,7 @@ type Emitter interface { // calls to Emit will block. // // Calling this function with wrong event type will cause a panic. - Emit(evt interface{}) + Emit(evt interface{}) error } // Subscription represents a subscription to one or multiple event types.