Skip to content

qanary-component-helpers/message-operations

This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.

qanary-component-helpers/message-operations

Section titled “qanary-component-helpers/message-operations”
  • Package: @leipzigtreechat/qanary-component-helpers
  • Source file: packages/qanary-component-helpers/src/message-operations.ts

Gets the endpoint attribute from the message

function getEndpoint(message: QanaryComponentApi.IQanaryMessage): string | undefined

Gets the endpoint attribute from the message

Parameters

  • message (QanaryComponentApi.IQanaryMessage): the message received from the qanary pipeline Returns
  • string | undefined: the endpoint attribute Defined at: line 8
function getInGraph(message: QanaryComponentApi.IQanaryMessage): string | undefined

Gets the inGraph attribute from the message

Parameters

  • message (QanaryComponentApi.IQanaryMessage): the message received from the qanary pipeline Returns
  • string | undefined: the inGraph attribute Defined at: line 17
function getOutGraph(message: QanaryComponentApi.IQanaryMessage): string | undefined

Gets the outGraph attribute from the message

Parameters

  • message (QanaryComponentApi.IQanaryMessage): the message received from the qanary pipeline Returns
  • string | undefined: the outGraph attribute Defined at: line 26