Interface IQueryContext

Provides the ability to respond to a query

Hierarchy

  • IQueryContext

Properties

Methods

Properties

queryId: string

The ID of the associated query

Methods

  • Sends an error response

    Parameters

    • code: number

      Error code

    • message: string

      Error message

    Returns Promise<void>

  • Sends a query repsonse

    Parameters

    • data: RSTaggedData

      response data to send

    • Optional isFinal: boolean

      true if not provided

    Returns Promise<void>