Hi All,
having extensively searched Combine articles related to dataTaskPublisher, I’m still unsure how to approach this.
For example: Processing URL Session Data Task Results with Combine.
I would like to periodically call a URL, e.g. every minute. That is to refresh with the latest data. Options that spring to mind are:
Many thanks!
having extensively searched Combine articles related to dataTaskPublisher, I’m still unsure how to approach this.
For example: Processing URL Session Data Task Results with Combine.
I would like to periodically call a URL, e.g. every minute. That is to refresh with the latest data. Options that spring to mind are:
Use Timer.TimerPublisher to create the dataTaskPublisher every minute.
Use Timer.TimerPublisher and dataTaskPublisher with Publishers.CombineLatest.
Many thanks!