Example #1
0
 public static UserState _1(UserState _, GetUserAction __) => UserStateCon.Loading();
Example #2
0
   public static UserState _2(UserState _, GetUserOutcome outcome) =>
   outcome.User == null
 ? UserStateCon.Unauthenticated()
 : UserStateCon.Authenticated(outcome.User);
Example #3
0
 protected override UserState GetInitialState() => UserStateCon.Loading();