util.smqueue: Add missing method to Teal record spec

This commit is contained in:
Kim Alvefur 2021-12-16 12:16:08 +01:00
parent 6e0bbc2af5
commit 81d747b6a4

View file

@ -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