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