API provides access to the action pruner API.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "ActionPruner"
VERSION: number = 1
_transport: Transport
NAME: string = "ActionPruner"
VERSION: number = 1

Methods

  • ModelConfig returns the current model's configuration.

    Parameters

    • params: any

    Returns Promise<ModelConfigResult>

  • Prune endpoint removes action entries until only the ones newer than now - p.MaxHistoryTime remain and the history is smaller than p.MaxHistoryMB.

    Parameters

    Returns Promise<any>

  • WatchForModelConfigChanges returns a NotifyWatcher that observes changes to the model configuration. Note that although the NotifyWatchResult contains an Error field, it's not used because we are only returning a single watcher, so we use the regular error return.

    Parameters

    • params: any

    Returns Promise<NotifyWatchResult>

Generated using TypeDoc