Tue 27 Aug 00:14:56 CEST 2024

This commit is contained in:
sbosse 2024-08-27 00:15:30 +02:00
parent 5b883273cd
commit 6263811e88

13
test/test-tasks.js Normal file
View File

@ -0,0 +1,13 @@
function task(id,counter) {
print(id,counter)
if (counter==2) kill(id)
return true;
}
function task(id,counter) {
print(id,counter)
return counter < 2;
}
var handle1 = later(1000,task);
var handle2 = later(1000,task);