CommunityNews
Introduction to structured concurrency in Swift
Introduction to structured concurrency in Swift: continuations, tasks, and cancellation
14 January, 2021
This article is a part of my series about concurrency and asynchronous programming in Swift. The articles are independent, but after reading this one you might want to check out the rest of the series:
- How do closures and callbacks work? It’s turtles all the way down
- Event loops, building smooth UIs, and handling high server load
- What are generators and why Swift needs them?
- Coroutines and “yield” expressions in Swift
- Introduction to structured concurrency in Swift: continuations, tasks, and cancellation
This thread was posted by one of our members via one of our news source trackers.
Popular Ios topics
To date, users have downloaded over 140 billion apps to their iPhones.¹ The iPhone’s success is tied to its ecosystem of third-party apps...
New
Tasks in Swift explained with code examples.
Tasks in Swift allow us to create an environment in which we can run async methods using aw...
New
Ouch, Safari on iOS can overlap multiple full-screen videos.
I just discovered an annoying behavior of Safari on iOS: full-screen videos...
New
The Dynamic Island might come to all iPhone 15 models.
The Dynamic Island may not be limited to Pro models.
New
Raw identifiers, backtraces, task naming, and more.
New
In 2025, playing your own music on an iPhone is surprisingly hard, unless you pay Apple or navigate a maze of limitations. So I built my ...
New
iTorrent’s developer has been blocked from distributing apps on alternative iOS stores.
New
RidePods – The World’s First Earbuds-Controlled Motorcycle Racing Game
RidePods brings a brand-new way to experience motorcycle racing....
New
The XNU kernel is the basis of Apple’s operating systems. Although labeled as a hybrid kernel, it is found to generally operate in a mono...
New
This past year, Apple overhauled its design language across all of its major software platforms with the introduction of Liquid…
New
Other popular topics
Ruby, Io, Prolog, Scala, Erlang, Clojure, Haskell. With Seven Languages in Seven Weeks, by Bruce A. Tate, you’ll go beyond the syntax—and...
New
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness.
https://f...
New
No chair. I have a standing desk.
This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face:
Perhaps if there’s enough peop...
New
This looks like a stunning keycap set :orange_heart:
A LEGENDARY KEYBOARD LIVES ON
When you bought an Apple Macintosh computer in the e...
New
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol:
bre...
New
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
Author Spotlight
Rebecca Skinner
@RebeccaSkinner
Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /html
- /centos
- /php
- /zig
- /deepseek
- /scala
- /textmate
- /lisp
- /sublime-text
- /react-native
- /debian
- /nixos
- /agda
- /kubuntu
- /arch-linux
- /deno
- /django
- /nodejs
- /ubuntu
- /revery
- /spring
- /manjaro
- /diversity
- /lua
- /julia
- /markdown
- /slackware








