Utilities

WingBlade.util.randomInt

Use

Return a random integer between 0 (inclusive) and a value given (exclusive).

Syntax

Number: WingBlade.util.randomInt(Number: cap);

WingBlade.util.sleep

Use

Sleep for a given amount of time (in milliseconds).

Syntax

Promise<undefined>: WingBlade.util.sleep(Number: ms, ?Number: maxAdd = 0);