Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 368 Bytes

File metadata and controls

27 lines (18 loc) · 368 Bytes

Timers module

setTimeout(), setImmediate(), and setInterval() simple replica for Minecraft Bedrock Edition script APIs (experimental).

Usage

import { setTimeout } from "./timers.js";

setTimeout(() => {
  console.log("Hello World");
}, 1000);

Compile & Test

Compile only

tsc

Unit test (include tsc)

npm run test