setInterval

Description

Runs a function regularly with the specified interval between each run.

Input / Parameter

NameDescriptionInput TypeDefaultOptionsRequired

delay

The duration between each run.

Number

-

-

Yes

timeout

The duration the output appears for.

Number

-

-

Yes

persistent

Interval repeated or not?

Boolean

false

true, false

No

Output

N/A

Callback?

callback

The function to be executed using the interval set.

DescriptionOutput Type

Returns the output of the function executed.

N/A

Video

Coming Soon.

Example

Coming Soon.

Steps

Coming Soon.

Result

Coming Soon.

Last updated