Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #37498

Re: setTimeout( ), with startpoint at t0

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: setTimeout( ), with startpoint at t0
Date Fri, 4 Oct 2019 13:50:31 +0200
Lines 19
Message-ID <gvoq07Fgr63U1@mid.individual.net> (permalink)
References <6ff17c5f-0702-4fef-8f1d-51c44a54fad6@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace individual.net hs1hFSoCYSTw9UBpBNPwDAi3RS6K4vxY5PtIxyc8pWfi3U7iJg
Cancel-Lock sha1:MXc9jYu4CXaBMz3aWCLNG6B71RQ=
In-Reply-To <6ff17c5f-0702-4fef-8f1d-51c44a54fad6@googlegroups.com>
Content-Language en-US
Xref csiph.com comp.lang.javascript:37498

Show key headers only | View raw


On 03.10.19 13:11, Jonas Thörnvall wrote:

> stopRec=setTimeout(STARTREC,interval);
> 
> Basicly i want first call immediatly at t0, but this first call will happen after interval?

What is "t0"? What is "STARTREC"?

> I tried this.
> stopRec=setTimeout(STARTREC,0*interval); 
> But i am not sure it works like i think?

See
<https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout>


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

setTimeout( ), with startpoint at t0 Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-03 04:11 -0700
  Re: setTimeout( ), with startpoint at t0 JJ <jj4public@vfemail.net> - 2019-10-03 19:41 +0700
    Re: setTimeout( ), with startpoint at t0 Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-03 08:34 -0700
      Re: setTimeout( ), with startpoint at t0 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-10-03 21:53 +0200
        Re: setTimeout( ), with startpoint at t0 Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-03 14:58 -0700
  Re: setTimeout( ), with startpoint at t0 Arno Welzel <usenet@arnowelzel.de> - 2019-10-04 13:50 +0200
    Re: setTimeout( ), with startpoint at t0 Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-04 07:33 -0700
      Re: setTimeout( ), with startpoint at t0 Arno Welzel <usenet@arnowelzel.de> - 2019-10-05 13:58 +0200
        Re: setTimeout( ), with startpoint at t0 Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-05 15:44 -0700

csiph-web