Skip to content
archive

twitter-x-post-2026-05-11-10-03-02

Swift · · 1 min read · x.com ↗

Twitter Post by @jacobtechtavern

URL: https://x.com/jacobtechtavern/status/2053735434627264923

Original Content:

Jacob Bartlett @jacobtechtavern Advanced Swift Concurrency: Implement Polling

It’s pretty easy to implement Polling in Swift concurrency - you can just create a little throwing recursive asynchronous function with a Task.sleep between calls.

Read my full article: The Secret To Intuitively Understanding Swift Concurrency blog.jacobstechtavern.com/p/the-secret-t

Image 7 likes, 4 bookmarks, 352 views

Summary: Jacob Bartlett shares a tip about implementing polling in Swift concurrency using a throwing recursive asynchronous function with Task.sleep between calls. He links to his full article on intuitively understanding Swift concurrency.

Key Points:

  • Polling in Swift concurrency can be implemented with a recursive async function
  • Use Task.sleep between calls
  • The approach is straightforward and intuitive

Relevance to Your Projects:

  • Directly relevant to your Swift learning and Norviq app development
  • Useful for implementing background updates or periodic checks in SwiftUI apps
  • Could be applied to your Loci itinerary app for periodic location updates or sync
  • Relevant to your overall Swift and Swift Concurrency skill development goals

Link: blog.jacobstechtavern.com/p/the-secret-t