aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-16 12:16:08 +0100
committerKim Alvefur <zash@zash.se>2021-12-16 12:16:08 +0100
commit81d747b6a48402d86b97442866842e4feffca8b9 (patch)
tree9c9a52def40642f65fbe1d5b86b56b775e1d203c /teal-src
parent6e0bbc2af5f1213df15e988ea176c7f398c9fdf3 (diff)
downloadprosody-81d747b6a48402d86b97442866842e4feffca8b9.tar.gz
prosody-81d747b6a48402d86b97442866842e4feffca8b9.zip
util.smqueue: Add missing method to Teal record spec
Diffstat (limited to 'teal-src')
-rw-r--r--teal-src/util/smqueue.tl3
1 files changed, 2 insertions, 1 deletions
diff --git a/teal-src/util/smqueue.tl b/teal-src/util/smqueue.tl
index 0bbceb8e..26bebe60 100644
--- a/teal-src/util/smqueue.tl
+++ b/teal-src/util/smqueue.tl
@@ -14,7 +14,8 @@ local record lib
end
push : function (smqueue, T)
ack : function (smqueue, integer) : { T }, ack_errors
- resumable : function (smqueue) : boolean
+ resumable : function (smqueue<T>) : boolean
+ resume : function (smqueue<T>) : queue.queue.iterator, any, integer
type consume_iter = function (smqueue<T>) : T
consume : function (smqueue<T>) : consume_iter