This is a example of how create a saga effects with some different flows.
Open your devtool and explore
Saga is always asynchronous
Saga can management the concurrency actions
With fork you can call a non-blocking fc
normally each iterator waits for the previous task to be completed to continue
With fork the flow go on
normally every tasks is reproduced with a linear flow, task by task
there is a method for invoke a parallel flow and some tasks go on simultaneously
in some flow you want that there is only one winner action
in this case you can use a race between two or more tasks
when the first is finish, all the others are blokcked
there is a small example for the login work flow
because is peculiarity, like a while cycle that produce a non-blocking call until an other action like 'logout' or 'failure' was called