Writing a macOS Finder "action" extension with Swift 6 concurrency

Swift 6 is great, but the strict concurrency checking can make interactions with older Apple APIs be... not fun. Furthermore, older Apple APIs can be less aware of Swift's async features, which becomes particularly relevant if you have adopted actor objects, since access to those is always async.. I recently …