Skip to content

PluginUsingClient

Signature

export type PluginUsingClient<TPlugins extends readonly AnySeyfertPlugin[] = RegisteredPlugins> = BaseClient & Materialize<ExtendOf<TPlugins>>;

Private types

MaterializeTypeAlias
type Materialize<T> = {    [K in keyof T]: T[K];};

Properties

Methods

close(): Promise<void>;

Closes resources managed by the plugin lifecycle. This waits for in-flight plugin setup and runs `SeyfertPlugin.teardown`. It does not close the gateway, REST client, or cache adapter.

uploadCommands({ applicationId, cachePath }?: {    applicationId?: string;    cachePath?: string;}): Promise<void>;