EXTENSION
ApolloExtension
public extension ApolloExtension where Base == DispatchQueue
Methods
performAsyncIfNeeded(on:action:)
static func performAsyncIfNeeded(on callbackQueue: DispatchQueue?, action: @escaping () -> Void)
returnResultAsyncIfNeeded(on:action:result:)
static func returnResultAsyncIfNeeded<T>(on callbackQueue: DispatchQueue?,
action: ((Result<T, Error>) -> Void)?,
result: Result<T, Error>)