nextTick

abstract fun nextTick(callback: (args: Array<Any>) -> Unit, vararg args: Any)

Process Next Tick

Schedule a callback to be invoked in the next tick of the event loop.

See: Node Process API: nextTick.

Parameters

callback

Callback to invoke

args

Arguments to pass to the callback