Options
All
  • Public
  • Public/Protected
  • All
Menu

This class helps resolve language server requests into successes or failures and sends the data to the metricsExtractor

Hierarchy

  • PluginMetricsResolver

Index

Constructors

Properties

metricsCreator: PluginMetricsCreator

Methods

  • createAndSetMetric(pluginID: string, method: string, time: number, successful: boolean): void
  • resolveRequest(pluginID: string, method: string, request: any): Promise<any>
  • Resolve a request for pluginID and create a metric based on whether or not the language server errored.

    Parameters

    • pluginID: string

      the ID of the plugin that made the request

    • method: string

      the method that was request

    • request: any

      the result of the language server request

    Returns Promise<any>