Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/common/ui/httpMessaging"

Index

Variables

Const AllMessagesPort

AllMessagesPort: 6660 = 6660

Const GoalRoute

GoalRoute: "/goal" = "/goal"

Const MessageRoute

MessageRoute: "/message" = "/message"

Functions

logAndSend

  • logAndSend(msg: string, ...args: any[]): Promise<void>
  • Convenient function to log in the present process and send a message to the all messages listener, which will be displayed if it's in verbose mode. Typically used when we want to send information about events within the SDM process to a user debugging sdm-local.

    Parameters

    • msg: string
    • Rest ...args: any[]

    Returns Promise<void>

sendDiagnosticMessageToAllMessagesListener

  • sendDiagnosticMessageToAllMessagesListener(message: string, ...args: any[]): Promise<void>

Generated using TypeDoc