Skip to main content

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

Class: abstract Service

Client instance

Extended by​

Properties​

runtime​

protected runtime: IAgentRuntime

Runtime instance

Defined in​

packages/core/src/types.ts:575


serviceType​

static serviceType: string

Service type

Defined in​

packages/core/src/types.ts:586


capabilityDescription​

abstract capabilityDescription: string

Service name

Defined in​

packages/core/src/types.ts:589


config?​

optional config: object

Service configuration

Index Signature​

[key: string]: any

Defined in​

packages/core/src/types.ts:592

Methods​

start()​

static start(_runtime): Promise<Service>

Start service connection

Parameters​

• _runtime: IAgentRuntime

Returns​

Promise<Service>

Defined in​

packages/core/src/types.ts:595


stop()​

static stop(_runtime): Promise<unknown>

Stop service connection

Parameters​

• _runtime: IAgentRuntime

Returns​

Promise<unknown>

Defined in​

packages/core/src/types.ts:600