mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #81338 from gottesmm/pr-e2235199764eea9659e08932699c74d60cf387b7
[concurrency] Ensure that we treat closures that are nonisolated(nonsending) via their ActorIsolation as nonisolated(nonsending).
This commit is contained in:
@@ -123,6 +123,16 @@ typedef void (^NonsendableCompletionHandler)(NSString * _Nullable, NSString * _N
|
||||
__attribute__((swift_async_error(zero_argument, 3)));
|
||||
- (void)getIceCreamFlavorWithCompletionHandler:
|
||||
(void (^)(Flavor flavor, NSError *__nullable error))completionHandler;
|
||||
|
||||
@property(class, strong, readonly) SlowServer *standardServer;
|
||||
- (void)getValueWithKey:(NSString *)valueIdentifier
|
||||
completion:(void (^)(NSString *__nullable value,
|
||||
NSError *__nullable error))completionHandler;
|
||||
- (void)getMainActorValueWithKey:(NSString *)valueIdentifier
|
||||
completion:
|
||||
(void (^)(NSString *__nullable value,
|
||||
NSError *__nullable error))completionHandler
|
||||
MAIN_ACTOR;
|
||||
@end
|
||||
|
||||
@protocol RefrigeratorDelegate<NSObject>
|
||||
|
||||
Reference in New Issue
Block a user