Commit Graph

8 Commits

Author SHA1 Message Date
Linden
72575c90ee refactor(callbacks): remove the cb argument
BREAKING CHANGE: Registered callbacks now return values rather than sending them as a callback.

Previously the cb needed to be called to return to the client, now it will happen once the function closes. i.e.

cb(string, string, false) -> return string, string, false
2022-01-01 20:43:06 +11:00
Linden
2084897785 refactor(callbacks): randomise event callback and fix timer logic
Prevent any possibility of listening for server callback or conflicting event handlers on the client.
2022-01-01 02:26:42 +11:00
Linden
6aede19f4e fix(table): correctly check if table contains value for non-tables
Only strings were allowed through this initial check, but we want non-table values to check if v = value.
2021-11-14 01:42:36 +11:00
Linden
a1d3dd31a3 chore: update information 2021-11-11 18:23:07 +11:00
Linden
9a60f3bd1d chore(callbacks): update annotations 2021-11-11 07:56:15 +11:00
Linden
ab4807fee0 refactor: remove modules system and fix indentation
Setting a "standard" module and resource structure is too limiting, so stick to import only.
2021-11-11 07:52:38 +11:00
Linden
7b3062f6e1 fix(callbacks): Resolve promise arguments 2021-10-30 16:18:42 +11:00
Linden
bc5c7ad209 Add files via upload 2021-10-30 15:58:25 +11:00