Structs

The following structs are available globally.

  • Completion is a wrapper for DDP callbacks that ensures that callbacks are executed on the same queue on which the original method was called. If the current queue is not available, execution defaults to the main queue.

    Declaration

    Swift

    public struct Completion
  • Struct to encapsulate the result of a Meteor method call

    See more

    Declaration

    Swift

    public struct Result
  • A struct to parse, encapsulate and facilitate handling of DDP message strings

    See more

    Declaration

    Swift

    public struct DDPMessage
  • A struct encapsulating a DDP error message

    See more

    Declaration

    Swift

    public struct DDPError: ErrorType
  • DDPEvents is a struct holder for callback closures that execute in response to websocket and Meteor lifecyle events. New closures can be assigned to public closures to modify the clients behavior in response to the trigger event.

    See more

    Declaration

    Swift

    public struct DDPEvents