This PR improves the logic behind the function withDelaysIfUnsupported by utilising the new async-await APIs. Also it adds a more comprehensive example of Parent Coordinator that itself has other Coordinators as children. With the proposed PR it will also now be possible to dismiss child coordinators with their separate flows by delegating dismissal to the Parent coordinator, hence improving the library's usage for more complex modular multi feature project setups where each feature could live in a separate module and have its own Coordinator.
This is great, thanks @DavidKmn! And thanks for the parent coordinator example! :) I'll merge and add a non-async variant that calls through to the async variant, for backwards compatibility.
This PR improves the logic behind the function
withDelaysIfUnsupported
by utilising the new async-await APIs. Also it adds a more comprehensive example of Parent Coordinator that itself has other Coordinators as children. With the proposed PR it will also now be possible to dismiss child coordinators with their separate flows by delegating dismissal to the Parent coordinator, hence improving the library's usage for more complex modular multi feature project setups where each feature could live in a separate module and have its own Coordinator.