On Wed, Oct 12, 2016 at 6:50 PM, Fa Qing <faqingh...@gmail.com> wrote:
> [AppRoot] -> [UsersPage] --> ask api for users, and upon success,
> 1. send the UsersFetchSuccess message (attaching the users); so far so
> good, but then also I need to...
> 2. replace the token by sending the BumpToken message at the root level of
> the app.
I would approach this by making UserFetchSuccess incorporate the token.
= UserFetchSuccess Token UserData
and handle the bumping of the token afterwards by maybe extending the
update signature with a Maybe Token
There is NO FATE, we are the creators.
You received this message because you are subscribed to the Google Groups "Elm
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.