Skip to content

nextTickAsync

Gets the next tick.

Import:

import { nextTickAsync } from '@mnaoumov/typescript-lib/async';

Signature:

function nextTickAsync(): Promise<void>

Returns: Promise<void> — A promise that resolves when the next tick is available.