Try Install Learn Blog API Packages GitHub
Pages
Standard Library

Search
Entities

Timer

Functions

nextFrame
(
subject
:
a
)
:
Promise(Never, a)

Returns a promise which resolves after the next animationFrame.

timeout
(
duration
:
Number
subject
:
a
)
:
Promise(Never, a)

Returns a promise which resolves after the given number of time in milliseconds.