- update
This commit is contained in:
1 parent
1bf4b9ef1d
commit
4e66c377fd
664 files changed
+14818
-10172
No files matched your search
+32
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (c) 2016, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
Returns whether all instances of `BFTask` should automatically @try/@catch exceptions in continuation blocks. Default: `YES`.
|
||||
|
||||
@return Boolean value indicating whether exceptions are being caught.
|
||||
*/
|
||||
extern BOOL BFTaskCatchesExceptions(void)
|
||||
__attribute__((deprecated("This is temporary API and will be removed in a future release.")));
|
||||
|
||||
/**
|
||||
Set whether all instances of `BFTask` should automatically @try/@catch exceptions in continuation blocks. Default: `YES`.
|
||||
|
||||
@param catchExceptions Boolean value indicating whether exceptions shoudl be caught.
|
||||
*/
|
||||
extern void BFTaskSetCatchesExceptions(BOOL catchExceptions)
|
||||
__attribute__((deprecated("This is a temporary API and will be removed in a future release.")));
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in new issue
Block a user