gookit / event

📢 Lightweight event manager and dispatcher implements by Go. Go实现的轻量级的事件管理、调度程序库, 支持设置监听器的优先级, 支持使用通配符来进行一组事件的监听
https://pgk.go.dev/github.com/gookit/event
MIT License
508 stars 59 forks source link

不支持多线程吗 #7

Closed aadog closed 3 years ago

aadog commented 3 years ago

不支持多线程吗

inhere commented 3 years ago

实现的比较简单,默认没有加锁。有兴趣可以扩展下

inhere commented 3 years ago

添加了加锁选项。默认没有开启