ReadyAPI
public class ReadyAPI
-
Declaration
Swift
public init(influxDB2API: InfluxDB2API) -
Get the readiness of an instance at startup
Declaration
Swift
public func getReady(zapTraceSpan: String? = nil, apiResponseQueue: DispatchQueue? = nil, completion: @escaping (_ data: Ready?, _ error: InfluxDBClient.InfluxDBError?) -> Void)Parameters
zapTraceSpan(header) OpenTracing span context (optional)
apiResponseQueueThe queue on which api response is dispatched.
completioncompletion handler to receive the data and the error objects
-
getReady(zapTraceSpan:AsynchronousapiResponseQueue: ) Get the readiness of an instance at startup
Declaration
Swift
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) public func getReady(zapTraceSpan: String? = nil, apiResponseQueue: DispatchQueue? = nil) async throws -> Ready?Parameters
zapTraceSpan(header) OpenTracing span context (optional)
apiResponseQueueThe queue on which api response is dispatched.
completioncompletion handler to receive the data and the error objects
View on GitHub
ReadyAPI Class Reference