Both suggestions are wrong.
1 means “While the cake is being cooked” (While the cake cooks)
2 means “Once the cake starts being cooked”, which is not very different.
The actual meaning would be something like:
When the cake is cooked (i.e. once the cooking is completed).
Leave a comment