Skip to main content

@elizaos/core v1.0.0-beta.7 / Service

Class: abstract Service

Client instance

Extended by

Properties

runtime

protected runtime: IAgentRuntime

Runtime instance

Defined in

packages/core/src/types.ts:521


serviceType

static serviceType: string

Service type

Defined in

packages/core/src/types.ts:532


capabilityDescription

abstract capabilityDescription: string

Service name

Defined in

packages/core/src/types.ts:535


config?

optional config: object

Service configuration

Index Signature

[key: string]: any

Defined in

packages/core/src/types.ts:538

Methods

start()

static start(_runtime): Promise<Service>

Start service connection

Parameters

_runtime: IAgentRuntime

Returns

Promise<Service>

Defined in

packages/core/src/types.ts:541


stop()

static stop(_runtime): Promise<unknown>

Stop service connection

Parameters

_runtime: IAgentRuntime

Returns

Promise<unknown>

Defined in

packages/core/src/types.ts:546