Classes

The following classes are available globally.

  • Chain

    Prevents spaghetti code/ pyramid of doom when running multiple asynchronous actions then functions might need to be hard typed if types are not guessable automatically by the compiler.

    See more

    Declaration

    Swift

    public class Chain<T>
  • Promise

    Simple promise with a single callback. Used by client.

    See more

    Declaration

    Swift

    public class Promise<T>: IPromise
  • PromiseTrigger

    Triggers actions on parent promise. Used by server.

    See more

    Declaration

    Swift

    public class PromiseTrigger<T>
  • PromiseBuilder

    Builds a promise and its trigger pair. Used by server.

    See more

    Declaration

    Swift

    public class PromiseBuilder<T>