42 Commits

Author SHA1 Message Date
inhere 1801b1b525 👔 up: Update adjusts contextual event handling logic
- fix some unit test error on concurrent run
2025-08-30 13:22:48 +08:00
inhere 01c5d2e33e 📝 chore: update some readme and some code comments 2025-08-25 13:19:22 +08:00
inhere 72a268efc9 👔 up: update some code style, add more test cases 2025-08-21 22:01:10 +08:00
inhere 1cb22cbe51 👔 up: AddEvent will return an error if the name is invalid, instead of panic. fix #75 2025-08-21 22:01:10 +08:00
inhere ab0d946a81 feat: add support with context for fire event. see issues #78
- add new method: FireCtx, FireEventCtx
2025-08-21 22:01:10 +08:00
inhere 8a9127892c 👔 up: refactoring the files structure, add fire with context 2025-08-21 22:01:10 +08:00
Kiyan f885dbb082 feat: event trigger once (#72) 2025-03-28 19:24:36 +08:00
Inhere b1597a253a 👔 up: set EnableLock default is False
- add some new issues test cases
- replace pkg stretchr/testify to gookit/goutil
- add code lint check action script
2024-02-06 00:25:46 +08:00
Inhere 51112f489d 👔 up: update some for EnableLock options 2023-06-10 21:24:56 +08:00
Inhere c020267c7b feat: support async consume events and wait complete
- add some new global func
 - add more unit tests
2023-06-09 14:53:15 +08:00
Inhere 65c875403f up: update name match logic and add more tests 2023-06-08 00:46:02 +08:00
Inhere 6a692b41b4 test: add more unit tests for ModePath 2023-06-07 10:31:11 +08:00
Inhere 399f023288 feat: add new match mode ModePath for support functionality wildcard event name
- resolve the issues #43
2023-06-04 16:11:25 +08:00
Inhere a55f9f7436 🐛 fix: use Event factory func for make defined event. resolve issues #48 2023-06-04 16:11:25 +08:00
RelicOfTesla 18c42a184f RemoveListener support closure function; fix: #9 2023-01-15 15:52:13 +08:00
Inhere 13645ca7ea 👔 up: replace all interface{} to any 2022-12-16 13:14:53 +08:00
Inhere f8c73c0465 fix: fix tests error, add more tests 2022-04-14 23:52:51 +08:00
Inhere 09244d353d up: add tests on go1.18 and remove test on go < 1.15 2022-04-14 21:35:49 +08:00
Inhere 6cdbf668cc fix: #20 group listeners fire error 2021-10-03 22:53:26 +08:00
inhere f93466be80 fix: #15 should close chan after AwaitFire 2021-08-14 13:38:33 +08:00
inhere ee4f2ed13e style: update comments for some methods 2021-08-14 13:33:57 +08:00
inhere b94e4133ff update some tests 2021-03-11 22:26:31 +08:00
inhere d79fad3e64 up: add lock option for fire event 2021-03-11 22:09:48 +08:00
inhere ca71faacb4 fix: #8 must check the '*' global listeners 2021-03-11 22:00:20 +08:00
inhere e36629cc29 add new global methods, add more tests 2021-01-15 20:04:44 +08:00
inhere 383905ce09 update readme. add more alias methods 2021-01-15 10:30:46 +08:00
DavidChou 02e7a110f5 Update manager.go
fix the typo
2020-10-14 01:17:58 +08:00
inhere e84d09af2d update some logic for trigger. update readme 2019-04-01 20:38:16 +08:00
inhere 8ad0d26673 add new methods 2019-04-01 18:31:10 +08:00
inhere dd015c42d6 update some info 2019-01-04 10:28:55 +08:00
inhere 436a02a58b update readme 2019-01-04 00:47:59 +08:00
inhere 3ca980f16f modify some logic 2019-01-04 00:47:48 +08:00
inhere 4187337ae4 add more unit test 2019-01-03 01:08:19 +08:00
inhere 7cb1281335 update some logic 2019-01-03 00:58:59 +08:00
inhere 329036aea9 complete all unit test 2018-12-20 00:55:08 +08:00
inhere ce0073f1e2 add more unit test 2018-12-19 20:11:28 +08:00
inhere ccad3edc7b update 2018-12-19 11:07:47 +08:00
inhere 606592d246 update some logic and test 2018-12-19 00:40:42 +08:00
inhere dd04a6308c update some 2018-12-18 09:54:58 +08:00
inhere 336fc632d2 update some logic. support priority for add listener 2018-12-17 23:55:32 +08:00
inhere fc53fcd435 complete more logic for event register and fire. 2018-12-12 00:43:19 +08:00
inhere 846344b425 init project 2018-12-11 21:48:48 +08:00