diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-16 12:16:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-16 12:16:08 +0100 |
commit | 81d747b6a48402d86b97442866842e4feffca8b9 (patch) | |
tree | 9c9a52def40642f65fbe1d5b86b56b775e1d203c | |
parent | 6e0bbc2af5f1213df15e988ea176c7f398c9fdf3 (diff) | |
download | prosody-81d747b6a48402d86b97442866842e4feffca8b9.tar.gz prosody-81d747b6a48402d86b97442866842e4feffca8b9.zip |
util.smqueue: Add missing method to Teal record spec
-rw-r--r-- | teal-src/util/smqueue.tl | 3 |
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 |