Question d’entretien chez Deel

How many arguments does setState take and why is it async.