Files
POCloud-iOS/Pods/PromiseKit/Sources/Configuration.swift
Patrick McDonagh 909925a334 Initial Commit
2018-05-25 12:56:07 -05:00

14 lines
517 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Dispatch
/// PromiseKits configurable parameters
public struct PMKConfiguration {
/// The default queues that promises handlers dispatch to
public var Q: (map: DispatchQueue?, return: DispatchQueue?) = (map: DispatchQueue.main, return: DispatchQueue.main)
/// The default catch-policy for all `catch` and `resolve`
public var catchPolicy = CatchPolicy.allErrorsExceptCancellation
}
/// Modify this as soon as possible in your applications lifetime
public var conf = PMKConfiguration()