
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

#131 - Chris Lattner: The Future of Computing and Programming Languages | Lex Fridman Podcast.
Chris Lattner is a world-class software &...
New

Async await in Swift explained with code examples.
Async await in Swift allows to write asynchronous tasks with structured concurrency. ...
New

T-Mobile says block should only affect customers who enabled content filters.
New

How a Saudi woman’s iPhone revealed hacking around the world.
A single activist helped turn the tide against NSO Group, one of the world...
New

iPhone Setup for Reversing and Debugging.
Wireless and firmware hacking, PhD life, Technology
New

Hot Reloading in Swift.
The year is 2040, and our newest MacBook M30X processors can compile large Swift projects perceivably instantane...
New

The subscription model for mobile apps is paying off big time for some.
New

swift-evolution/0366-move-function.md at main · apple/swift-evolution.
This maintains proposals for changes and user-visible enhancement...
New

The Urtopia Carbon is a decent bike that tries to do a lot with its software.
New

The lock screen gets a major overhaul.
New
Other popular topics

What chair do you have while working… and why?
Is there a ‘best’ type of chair or working position for developers?
New

Which, if any, games do you play? On what platform?
I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
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

New

I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New

Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New

Seems like a lot of people caught it - just wondered whether any of you did?
As far as I know I didn’t, but it wouldn’t surprise me if I...
New

Author Spotlight
Rebecca Skinner
@RebeccaSkinner
Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New

Author Spotlight:
Bruce Tate
@redrapids
Programming languages always emerge out of need, and if that’s not always true, they’re defin...
New

A Ruby-Centric Chat with Noel Rappin @noelrappin
Once you start noodling around with Ruby you quickly figure out, as Noel Rappi...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /ash
- /vscode
- /opensuse
- /centos
- /php
- /deepseek
- /scala
- /zig
- /html
- /debian
- /nixos
- /lisp
- /agda
- /sublime-text
- /textmate
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /django
- /spring
- /manjaro
- /diversity
- /lua
- /nodejs
- /c
- /slackware
- /julia
- /neovim