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
Core team to form language workgroup.
Moderator note: this post was originally in the light-weight same-type requirement syntax thread, ...
New
Trendy 1930s QWERTY-alternative plays catch-up on iPhone.
New
The Taiwanese technology giant says it will invest up to $170m in Ohio-based Lordstown Motors.
New
A week ago, I knew absolutely nothing about Swift. Today, I have a working iOS app sitting on my Mac and my test device
New
My visionOS 26 persona. The side of my head really does look like that! If visionOS and the Vision Pro are all about charting a course to...
New
How I transformed my old iPhone 8 into a solar-powered Vision OCR server using Apple’s native framework and an EcoFlow River 2 Pro. Runni...
New
Apple today debuted the all-new iPhone Air, the thinnest iPhone ever made, with pro performance.
New
Changing your mind, thinking deeply, and winning back your time
New
A powerful iPhone-hacking technique known as DarkSword has been discovered in use by Russian hackers. It can take over devices running iO...
New
Apple is letting users build their own Wallet passes in iOS 27. After 14 years of PassKit, the supply-side problem is finally being solve...
New
Other popular topics
Take your Go skills to the next level by learning how to design, develop, and deploy a distributed service. Start from the bare essential...
New
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first:
asdf plugin-upd...
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
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
New
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
New
Author Spotlight:
Peter Ullrich
@PJUllrich
Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /svelte
- /typescript
- /onivim
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /html
- /opensuse
- /deepseek
- /zig
- /centos
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /arch-linux
- /nodejs
- /spring
- /ubuntu
- /revery
- /manjaro
- /julia
- /lua
- /diversity
- /markdown
- /quarkus









