Class PluginModule<TConfig, TEnv>Abstract

Type Parameters

  • TConfig

  • TEnv extends Record<string, unknown> = Record<string, unknown>

Hierarchy

  • PluginModule

Constructors

Properties

Accessors

Methods

Constructors

  • Type Parameters

    • TConfig

    • TEnv extends Record<string, unknown> = Record<string, unknown>

    Parameters

    • config: TConfig

    Returns PluginModule<TConfig, TEnv>

Properties

_config: TConfig

Accessors

Methods

  • Type Parameters

    • TArgs extends Record<string, unknown> = Record<string, unknown>

    • TResult = unknown

    Parameters

    • method: string
    • args: TArgs
    • client: CoreClient
    • env: TEnv

    Returns Promise<Result<TResult, Error>>

  • Type Parameters

    • TArgs extends Record<string, unknown> = Record<string, unknown>

    • TResult = unknown

    • TEnv extends Record<string, unknown> = Record<string, unknown>

    Parameters

    • method: string

    Returns undefined | PluginMethod<TArgs, TResult, Record<string, unknown>>

Generated using TypeDoc