From 721eaf37603d3e66c274172428fb012950cb78c2 Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 2 Feb 2026 03:40:54 -0600 Subject: buffer return prev on :set --- library/lullaby/thread.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/lullaby') 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 -- cgit v1.2.3