[pigeon] Support TaskQueue when using Swift #111512
Labels
p: pigeon
related to pigeon messaging codegen tool
P3
Issues that are less important to the Flutter project
package
flutter/packages repository. See also p: labels.
platform-ios
iOS applications specifically
team-ios
Owned by iOS platform team
triaged-ios
Triaged by iOS platform team
Use case
Pigeon supports using swift for iOS/MacOS and objective-c for iOS.
TaskQueue
is supported for objective-c, but the@TaskQueue
annotation from pigeon does not seem to have any impact when using swift & iOS. The following code will use TaskQueue when using objective-c, but not swift.Proposal
Add support for TaskQueue when using swift on iOS. One consideration is that TaskQueue is not supported on MacOS. Users will either need to know this, and only attempt to use it for iOS plugins, or pigeon could use TaskQueue on iOS only (not sure of the feasibility of that).
Reference
@TaskQueue
from pigeon: https://pub.dev/documentation/pigeon/latest/pigeon_lib/TaskQueue-class.htmlThe text was updated successfully, but these errors were encountered: