Async

public class Async

Datatypes and serializers for the async namespace

  • 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.

    See more

    Declaration

    Swift

    public enum LaunchResultBase : CustomStringConvertible, JSONRepresentable
  • Result returned by methods that may either launch an asynchronous job or complete synchronously. Upon synchronous completion of the job, no additional information is returned.

    See more

    Declaration

    Swift

    public enum LaunchEmptyResult : CustomStringConvertible, JSONRepresentable
  • Arguments for methods that poll the status of an asynchronous job.

    See more

    Declaration

    Swift

    public class PollArg : CustomStringConvertible, JSONRepresentable
  • Result returned by methods that poll for the status of an asynchronous job. Unions that extend this union should add a ‘complete’ field with a type of the information returned upon job completion. See PollEmptyResult for an example.

    See more

    Declaration

    Swift

    public enum PollResultBase : CustomStringConvertible, JSONRepresentable
  • Result returned by methods that poll for the status of an asynchronous job. Upon completion of the job, no additional information is returned.

    See more

    Declaration

    Swift

    public enum PollEmptyResult : CustomStringConvertible, JSONRepresentable
  • Error returned by methods for polling the status of asynchronous job.

    See more

    Declaration

    Swift

    public enum PollError : CustomStringConvertible, JSONRepresentable