Commit Graph

9 Commits

Author SHA1 Message Date
Bill Hilbert
4f14e1c3f1 fixes spelling mistake in has_subscriber 2023-12-30 01:22:17 -05:00
Max Cahill
844c9e8c8f ...needed to forward-declare for the previous fix 2022-11-08 09:23:45 +11:00
Max Cahill
c6e6ec858c fixed accidentally global callback in subscribe_once 2022-11-08 09:20:37 +11:00
Max Cahill
94d9901728 better error reporting for pubsub defer-related errors 2022-11-07 17:13:25 +11:00
Max Cahill
66e9848bef added pubsub:subscribe_once and fixed a bug if you subscribe or unsubscribe from inside a callback 2022-11-03 16:19:18 +11:00
Max Cahill
f3e299e3c9 fixed pubsub using set but not requiring it (breaks without :export())
fixes #44
2021-11-23 10:45:09 +11:00
flamendless
1d59b3623e Fixed typos 2021-07-18 09:30:22 +08:00
Max Cahill
3cc177a0c0 BREAKING class interface refactor - all classes will need a minor update, see class.lua
tl;dr is that new no longer needs to call init, calling :new() directly in user code is not allowed, properties are copied, metamethods work, and a config table is needed rather than a class to extend from, so use {extends = superclass} if you want a minimal fix
2021-07-15 16:15:27 +10:00
Max Cahill
89ad4c2dda [added] pubsub and timer modules 2021-03-12 21:23:54 +11:00