def Queue.wake
import bend-kube-runtime@0.2.0.0/src/queue.bend as Queueimport Base
225# A timer woke: the key is queued if the timer is still current.
226def Queue.wake(q: Queue, +key: String, +gen: U32) -> Queue:
227 match q:
228 case Queue{f, b, i, r, d, +g, fl, n, mx}:
229 Queue.wake.go(Queue{f, b, i, r, d, g, fl, n, mx}, key, U32.is_eq(Mp.get(g, key), gen))