diff options
| author | ame <[email protected]> | 2026-02-02 03:40:54 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2026-02-02 03:40:54 -0600 |
| commit | 721eaf37603d3e66c274172428fb012950cb78c2 (patch) | |
| tree | 4416964f5458a1fb6661a05f337ef9c3b6cc60f3 /library/lullaby | |
| parent | 2f81ec62dd0690cf03d7386d8f1e828388ba7e58 (diff) | |
buffer return prev on :set
Diffstat (limited to 'library/lullaby')
| -rw-r--r-- | library/lullaby/thread.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/lullaby/thread.lua b/library/lullaby/thread.lua index 43e897d..fc29e90 100644 --- a/library/lullaby/thread.lua +++ b/library/lullaby/thread.lua @@ -65,7 +65,7 @@ function buffer.get(T) end ---sets the value of the buffer ---@param T buffer-table ---@param value any ----@return nil +---@return any prev previous table value function buffer.set(T, value) end ---calls a function with a parameter that is the value of the buffer, return the new value of the buffer |
