Class AnalysisRouter

Hierarchy

  • AnalysisRouter

Index

Constructors

Properties

Methods

Constructors

constructor

  • Create an Analysis Router. Use router.register to register new routes for your analysis. Use router.exec() to execute the router and run your functions. Example: router.register(myFunction).whenInputFormID('create-device-input'); router.exec();

    Parameters

    Returns AnalysisRouter

Properties

services

services: RouterService[] = []

Methods

exec

  • exec(): Promise<{ services: string[]; status: boolean }>
  • Start the router. It will pick the service if all conditions are match and send all parameter provided to the final function.

    Returns Promise<{ services: string[]; status: boolean }>

    json with status and services that run

register