e_dub has quit [Ping timeout: 246 seconds]
e_dub has joined #opal
meh` has quit [Ping timeout: 264 seconds]
vwoo has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Ping timeout: 248 seconds]
e_dub has joined #opal
e_dub has quit [Quit: Leaving]
chap has joined #opal
chap has quit [Read error: Connection reset by peer]
kludge` has quit [Ping timeout: 264 seconds]
kludge` has joined #opal
chap has joined #opal
elia has joined #opal
madumo has joined #opal
elia has quit [Ping timeout: 240 seconds]
meh` has joined #opal
elia has joined #opal
adambeynon has joined #opal
elia has quit [Ping timeout: 264 seconds]
_whitelogger has joined #opal
madumo has quit [Quit: madumo]
DrShoggoth has joined #opal
meh` has quit [Ping timeout: 264 seconds]
vwoo has joined #opal
meh` has joined #opal
meh` has quit [Ping timeout: 264 seconds]
asmod4n has joined #opal
<
asmod4n>
Hi, is there a way to implement threads and timeouts?
<
fkchang>
timeouts as in javascript setTimeout() ?
<
fkchang>
threads I imagine you can call webworkers, but I've never tried it, and my recollection is it acts different than pthreads
meh` has joined #opal
<
asmod4n>
Hm, aren't web workers out of context? e.g. they can't access your javascript objects?
<
meh`>
what's the topic?
<
asmod4n>
just wanted to know if there is support for timeouts and maybe threads
<
meh`>
it depends on the underlying javascript engine
<
meh`>
if you're in the browser you can just use setTimeout and setInterval
<
asmod4n>
like method = method(:my_method) `setTimeout(method, 0); ?
asmod4n has quit [Quit: asmod4n]
meh` has quit [Quit: brb updating bios and kernel]
meh` has joined #opal