CoCancellable
public protocol CoCancellable : AnyObject
Undocumented
-
Cancels the current
CoCancellable.Declaration
Swift
func cancel() -
Adds an observer callback that is called when the
CoCancellableis completed.Declaration
Swift
func whenComplete(_ callback: @escaping () -> Void)Parameters
callbackThe callback that is called when the
CoCancellableis completed. -
added(to:Extension method)
CoCancellable Protocol Reference