mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 11:44:08 +00:00
chore: housekeeping
This commit is contained in:
parent
6a4b2ded3e
commit
71d155e947
11 changed files with 49 additions and 86 deletions
|
|
@ -90,7 +90,7 @@ end
|
|||
|
||||
@param payloads The state updates received from the server.
|
||||
]]
|
||||
local function patch(payloads: { SyncPayload })
|
||||
local function applyPatches(payloads: { SyncPayload })
|
||||
for _, payload in payloads do
|
||||
if payload.type == "init" then
|
||||
Charm.batch(applyInitPayload, payload.data)
|
||||
|
|
@ -104,5 +104,5 @@ return {
|
|||
addSignals = addSignals,
|
||||
removeSignals = removeSignals,
|
||||
removeAllSignals = removeAllSignals,
|
||||
patch = patch,
|
||||
patch = applyPatches,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue