sergdort / CombineFeedback

Unidirectional reactive architecture using new Apple Combine framework https://developer.apple.com/documentation/combine
MIT License
688 stars 54 forks source link

added a timer example #14

Open PaulWoodIII opened 5 years ago

PaulWoodIII commented 5 years ago

In this example we show a Feedback that ignores the state changes and simply publishes feedbacks to the system based on a side affect that is not created from an event the user initiates. In this case a timer that is used to update the UI on a regular basis.

This same pattern could be used for changes coming from another system, a persistance layer change, network reachability and so on.