UNPKG

dcl-ui-toolkit

Version:

A collection of UI helpers to make it easier to build a Decentraland scene using the SDK 7.

14 lines (13 loc) 318 B
export type TimerConfig = { seconds: number; callback: () => void; }; export declare class Timer { private _endTime; private readonly _seconds; private readonly _callback; constructor({ seconds, callback }: TimerConfig); start(): void; stop(): void; private _timeOutSystemHandle; }