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
This commit is contained in:
Linden
2022-01-01 20:43:06 +11:00
parent 2084897785
commit 72575c90ee
3 changed files with 14 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ game 'gta5'
--[[ Resource Information ]]--
name 'pe-lualib'
author 'Linden'
version '1.2.1'
version '1.3.0'
repository 'https://github.com/project-error/pe-lualib'
description 'A library of shared functions to utilise in other resources.'