Options
All
  • Public
  • Public/Protected
  • All
Menu

mendixplatformsdk

Index

Type aliases

Loadable

Loadable: object | object

Any model unit or that extends IAbstractElement has a load() method. Use this interface to pass loadable model units to loadAsPromise().

Functions

loadAsPromise

  • loadAsPromise<T>(loadable: Loadable<T>): Promise<T>
  • Any model unit or that extends IAbstractElement has a load() method. This function is a convenience function that allows you load a model unit and return a Promise, instead of having to provide a callback method.

    Type parameters

    • T

    Parameters

    • loadable: Loadable<T>

      Any model unit that implements a load() method.

    Returns Promise<T>

    a Promise of an object that is of the same type as the loadable parameter.

myLog

  • myLog(message: string, ...optionalParams: any[]): void
  • Logs a message to the console with a timestamp and an arbitrary number of parameters.

    Parameters

    • message: string

      The message to be logged

    • Rest ...optionalParams: any[]

      Zero or more parameters to be added to the log message.

    Returns void

Generated using TypeDoc