From 81d747b6a48402d86b97442866842e4feffca8b9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 16 Dec 2021 12:16:08 +0100 Subject: util.smqueue: Add missing method to Teal record spec --- teal-src/util/smqueue.tl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'teal-src/util') 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) : boolean + resume : function (smqueue) : queue.queue.iterator, any, integer type consume_iter = function (smqueue) : T consume : function (smqueue) : consume_iter -- cgit v1.2.3