Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

while vs until

This comparison card contrasts while and until. while Runs while test is true. until Runs while test is false. The card pairs while with most loops, and until with health checks.

while vs until: Runs while test is true.; Runs while test is false.
while vs until · Download PNG
Read card text

What this card says

Loop

while

Runs while test is true.

until

Runs while test is false.

Key points

Read data, counters.

Wait until ready.

Example

while (( i < 5 ))

Use when

Most loops.

Health checks.

See all AWS revision cards