Commit Graph

16 Commits

Author SHA1 Message Date
Nocturn9x e08b47260f Minor typos and fixes and updated requirement for Python >= 3.8 2022-04-29 11:05:59 +02:00
Nocturn9x d83317d34a Minor typos and fixes 2022-04-29 11:04:23 +02:00
Nocturn9x 668c486068 Typos (_mode -> mode) 2022-01-31 12:36:03 +01:00
Nocturn9x 207716b6cf Removed old inaccurate note from docstring 2022-01-31 12:34:30 +01:00
nocturn9x 17a2a2ca4e Replaced pipe operator with typing.Union 2022-01-23 15:56:19 +01:00
nocturn9x 070cd2bcd8 Added support for returning values from event handlers and to pass arbitrary arguments to them when emitting events 2022-01-07 18:23:24 +01:00
nocturn9x 91f1e6b5a0 Added exists() helper in package namespace and added test for priority scheduling 2021-12-29 13:15:51 +01:00
nocturn9x 2c3458120f AsyncEventEmitter now uses property getters and setters for cleaner API usage 2021-12-29 12:42:16 +01:00
nocturn9x 234dcb448e Fixed coroutine function check for on_unknown_event inside AsyncEventEmitter's constructor 2021-12-29 12:06:59 +01:00
nocturn9x 91bca1cab0 Made the behavior of oneshot handlers uniform across execution modes. Added more tests and notes to README 2021-12-26 15:52:47 +01:00
nocturn9x 5ba185c11b Added more tests, improved README, removed simple_example.py 2021-12-25 18:38:20 +01:00
nocturn9x c9456e0837 Reformatted with black 2021-12-24 19:14:27 +01:00
nocturn9x be7ae5d8f2 Moved comment in events.py to relevant code section 2021-12-24 19:14:10 +01:00
nocturn9x 9b13fab6d8 Changed "coroutine" to "coroutine function" in AsyncEventEmitter's docstring 2021-12-24 19:12:36 +01:00
nocturn9x e32f0c0cb1 Fix typos 2021-12-24 19:11:20 +01:00
nocturn9x 2c34afe03c Initial commit 2021-12-24 19:06:08 +01:00