LaunchResultBase

public enum LaunchResultBase : CustomStringConvertible, JSONRepresentable

Result returned by methods that launch an asynchronous job. A method who may either launch an asynchronous job, or complete the request synchronously, can use this union by extending it, and adding a ‘complete’ field with the type of the synchronous response. See LaunchEmptyResult for an example.

  • This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.

    Declaration

    Swift

    case asyncJobId(String)
  • Declaration

    Swift

    public var description: String { get }