Hi,
it's a javascript question but as JS is widely used in o-s-c, could someone tell me how do you call this 3 points "operator (?)" ...
in Javascript ? What does it do ?
I will find doc then.
Example
function controlSequence(host, port, address, preArgs, sequence) {
var i = 0
var timer = setInterval(()=>{
send(host, port, '/note', ...preArgs, sequence[i])
i += 1
if (i == sequence.length) clearInterval(timer)
}, 50) // set here the time interval
}
Cheers