UNPKG

@kayahr/ed-journal

Version:

Typescript library to read/watch the player journal of Frontier's game Elite Dangerous

14 lines (12 loc) 327 B
/* * Copyright (C) 2022 Klaus Reimer <k@ailis.de> * See LICENSE.md for licensing information. */ /** * Sleeps the given number of milliseconds. * * @param ms - The number of milliseconds to sleep. */ export async function sleep(ms: number): Promise<void> { return new Promise(resolve => setTimeout(resolve, ms)); }