Home > hls.js > TaskLoop > setInterval

TaskLoop.setInterval() method

Signature:

setInterval(millis: number): boolean;

Parameters

Parameter

Type

Description

millis

number

Interval time (ms) True when interval has been scheduled, false when already scheduled (no effect)

**Returns:**

boolean