Async

API Object

  • The LaunchResultBase union.

    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 class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

    See more

    Declaration

    Objective-C

    @interface DBASYNCLaunchResultBase : NSObject <DBSerializable, NSCopying>

    Swift

    class DBASYNCLaunchResultBase : NSObject, DBSerializable, NSCopying
  • The LaunchEmptyResult union.

    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.

    This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

    See more

    Declaration

    Objective-C

    @interface DBASYNCLaunchEmptyResult : NSObject <DBSerializable, NSCopying>

    Swift

    class DBASYNCLaunchEmptyResult : NSObject, DBSerializable, NSCopying
  • The PollArg struct.

    Arguments for methods that poll the status of an asynchronous job.

    This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

    See more

    Declaration

    Objective-C

    @interface DBASYNCPollArg : NSObject <DBSerializable, NSCopying>

    Swift

    class DBASYNCPollArg : NSObject, DBSerializable, NSCopying
  • The PollResultBase union.

    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.

    This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

    See more

    Declaration

    Objective-C

    @interface DBASYNCPollResultBase : NSObject <DBSerializable, NSCopying>

    Swift

    class DBASYNCPollResultBase : NSObject, DBSerializable, NSCopying
  • The PollEmptyResult union.

    Result returned by methods that poll for the status of an asynchronous job. Upon completion of the job, no additional information is returned.

    This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

    See more

    Declaration

    Objective-C

    @interface DBASYNCPollEmptyResult : NSObject <DBSerializable, NSCopying>

    Swift

    class DBASYNCPollEmptyResult : NSObject, DBSerializable, NSCopying
  • The PollError union.

    Error returned by methods for polling the status of asynchronous job.

    This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

    See more

    Declaration

    Objective-C

    @interface DBASYNCPollError : NSObject <DBSerializable, NSCopying>

    Swift

    class DBASYNCPollError : NSObject, DBSerializable, NSCopying