Martin Todorov, co-author of Combine Async Programming with Swift gives us this Gem on the best way to sleep.
Use Task.sleep(), instead of Thread.sleep() for iOS/MacOS coding!
https://trycombine.com/posts/thread-task-sleep/
No comments:
Post a Comment