public struct PMKConfiguration
PromiseKit’s configurable parameters.
Do not change these after any Promise machinery executes as the configuration object is not thread-safe.
We would like it to be, but sadly
Swift does not expose
dispatch_once et al. which is what we used to use in order to make the configuration immutable once first used.
The default queues that promises handlers dispatch to
public var Q: (map: DispatchQueue?, return: DispatchQueue?)
The default catch-policy for all
public var catchPolicy: CatchPolicy
The closure used to log PromiseKit events. Not thread safe; change before processing any promises.
NoteThe default handler calls
public var logHandler: (LogEvent) -> Void