Skip to content

Commit

Permalink
Add update date
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephDuffy committed Jun 18, 2024
1 parent 8cf2319 commit 85f5d23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/posts/smuggling-values-across-actors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Smuggling Values Across Actors
tags: ["swift", "concurrency", "swift-6"]
date: 2024-06-18T01:12:34Z
updateDate: 2024-06-18T03:45:53Z
---

I recently started updating an app to use the Swift 6 language mode and ran in to an issue using `AVCaptureMetadataOutputObjectsDelegate`. The issue is that the compiler cannot reason about which actor the delegate function is called on and it must be treated as nonisolated, however _we_ know that it's being called on a specific actor (in this case the `MainActor`), so how can we tell the compiler?
Expand Down

0 comments on commit 85f5d23

Please sign in to comment.