From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:38]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 5BABD79046 for ; Tue, 3 Nov 2015 17:52:24 -0800 (PST) Received: from resomta-ch2-04v.sys.comcast.net ([69.252.207.100]) by resqmta-ch2-06v.sys.comcast.net with comcast id dDsR1r0032AWL2D01Dsltw; Wed, 04 Nov 2015 01:52:45 +0000 Received: from eklhad ([IPv6:2601:405:4080:53:21e:4fff:fec2:a0f1]) by resomta-ch2-04v.sys.comcast.net with comcast id dDsl1r00K1DsNmD01Dslx0; Wed, 04 Nov 2015 01:52:45 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.5.4.2+ Date: Tue, 03 Nov 2015 20:52:45 -0500 Message-ID: <20151003205245.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1446601965; bh=K5bvzvlKv08xrd/LUMiNvJn7fS2aJKjX1xll2yP1rxU=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=azuK28iQA+EzcSyUJL/Kl3lqymP0CsHoEPzUQ0x/uxYnI3YbUf2xWNJh2XCbWydSW fXx0GfV6kTfBSP6GxAQwQ9lbJJFuXFmOz+kgGr1vSP5j67Q3XBsOth/cSSKSxqyzoK NypzqnJ9Ny7T4oIOj4u9AqFGnprIBbuAFOEA4U9nuWqeiCeiP3fs5bLhytCtAfweGq 6w2g4J7+qQ9Je2Y9VKnqf76++uUijALQ8/OkBjR8j9n+mWlFjf6W2Ze68k+wybwki6 3Tzx5ggcUM02pAT91jpP/vOpk616uAYh5a1npxSPMSCw33YglV8dC23Fc8TXgicmUl N/XjiUOGVA2PQ== Subject: [Edbrowse-dev] clearTimeout X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2015 01:52:24 -0000 We've had setTimeout and setInterval for a while, but I didn't implement clearTimeout, well, because I didn't know it existed. It's now there, and illustrated by http://www.eklhad.net/async It updates line 1 once a second, like a stock price or something, type rr to rerender, but after 127 seconds the timer deletes itself and time stops at 127. The trick was having a timer delete itself while it is still running, and not lose its brains. Karl Dahlke