You can use that way or this way to refer to an action or situation that you have just mentioned, when you go on to mention the likely consequence or effect of it.
Keep the soil moist. That way, the seedling will flourish.
保持土壤湿润。这样,幼苗就会茁壮成长。
I am left holding the baby; but at least this way I know that she’s being well looked after.