diff --git a/events.go b/events.go index a41c953..f0a45da 100644 --- a/events.go +++ b/events.go @@ -274,6 +274,10 @@ func Handle(path string, handler func(Event)) { DefaultEvtStream.Handle(path, handler) } +func ResetHandlers() { + DefaultEvtStream.ResetHandlers() +} + func Loop() { DefaultEvtStream.Loop() }