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