From d5d908dda655c791329563522faad42d7e4ee618 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 12 Jul 2015 00:11:56 -0700 Subject: 1766 --- html/074console.mu.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'html/074console.mu.html') diff --git a/html/074console.mu.html b/html/074console.mu.html index 651fa9a6..b89a1333 100644 --- a/html/074console.mu.html +++ b/html/074console.mu.html @@ -133,6 +133,19 @@ container console [ loop-unless found?:boolean } ] + +# use this helper to skip rendering if there's lots of other events queued up +recipe has-more-events? [ + default-space:address:array:location <- new location:type, 30:literal + console:address <- next-ingredient + { + break-unless console:address + # fake consoles should be plenty fast; never skip + reply 0:literal/false + } + result:boolean <- interactions-left? + reply result:boolean +] -- cgit 1.4.1-2-gfad0