cancel
TypeScriptcancel(): voidSwift declarationfunc cancel()class · iOS 13.0+ · SDK 27.1
class MLTaskcancel(): voidSwift declarationfunc cancel()resume(): voidSwift declarationfunc resume()get error(): (NativeError) | nullSwift declarationvar error: (any Error)? { get }get state(): MLTaskStateSwift declarationvar state: MLTaskState { get }get taskIdentifier(): stringSwift declarationvar taskIdentifier: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MLTask.init()
inherited init: clang: 'init' is unavailable