Options
All
  • Public
  • Public/Protected
  • All
Menu

External module connector

Index

Functions

configureSession

  • configureSession(name: string, properties: any): Promise<any>
  • provides per-user connection properties to be stored as part of the session, such as credentials for a given connection.

    All parameters in properties are copied to the transient session store, overwriting any already existing values. To delete a previously stored parameter, provide an empty value explicitly.

    Parameters

    • name: string

      of connection.

    • properties: any

      to store in session.

    Returns Promise<any>

    promise of async execution.

runCall

  • runCall(name: string, call: string, input: any): Promise<any>
  • executes a call on a connection.

    Parameters

    • name: string

      of connection.

    • call: string

      name.

    • input: any

      data, i.e. an instance of a model or object compatible to the model in terms of attributes defined.

    Returns Promise<any>

    promise providing output/error.

Generated using TypeDoc