RiskConsumer
final class RiskConsumer : NSObject
Undocumented
-
Undocumented
Declaration
Swift
init(targetQueue: DispatchQueue = .main)
-
The queue
didCalculateRisk
will be called on. Defaults to.main
.Declaration
Swift
let targetQueue: DispatchQueue
-
Called when the risk level changed
Declaration
Swift
var didCalculateRisk: ((Risk) -> Void)
-
Called when loading status changed
Declaration
Swift
var didChangeActivityState: ((_ activityState: RiskProvider.ActivityState) -> Void)?