Mistral AI Interview Question

setState is sync or async