until

fun until(condition: BooleanSupplier): Value

Example: const duration = await until(() => mc.player.isOnGround())

Return

Promise<number>