Fragments of your code, such as: ``` state = await AsyncValue.guard(() => repository.addJob( uid: currentUser.uid, name: name, ratePerHour: ratePerHour), ``` don't work. The state is lost before the await is finished. More details: https://github.com/rrousselGit/riverpod/issues/2420
Fragments of your code, such as:
don't work. The state is lost before the await is finished. More details: rrousselGit/riverpod#2420