Software /
code /
prosody
Changeset
12057:e880f5a13080
util.smqueue: Add missing method to Teal record spec
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Dec 2021 12:16:08 +0100 |
parents | 12056:e62025f949f9 |
children | 12058:4860da718e87 |
files | teal-src/util/smqueue.tl |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/teal-src/util/smqueue.tl Tue Dec 14 20:00:45 2021 +0100 +++ b/teal-src/util/smqueue.tl Thu Dec 16 12:16:08 2021 +0100 @@ -14,7 +14,8 @@ 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