setInterval function
Repeatedly calls a function , with a fixed time delay between each call.
// Outputs 'hello' to the console every 500ms
setInterval(() => { console.log('hello'); }, 500);
Implementation
_i2.num setInterval(
void Function([_i2.Iterable<_i2.dynamic>?]) cb, [
_i2.num? delay,
_i2.Iterable<_i2.dynamic>? args,
]) =>
_i4.callMethod(
_self,
'setInterval',
[
_i4.allowInterop(([
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
cb([
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
])),
delay ?? _i6.undefined,
...?args,
],
);