1

My workflow is simple.

I don't need to make the same DataRequest 2 times and need to check wether this request is already in progress. If request is not in progress I need to make the request if some specific time has passed.

How could I achieve something like this using Alamofire ? I am using 'Alamofire', '5.2.2' and 'RxAlamofire', '5.6.2' .

Serban S
  • 95
  • 7

1 Answers1

0

I would implement this using interval and flatMapFirst.

Daniel T.
  • 24,573
  • 4
  • 44
  • 59