Skip to main content

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

Class: abstract Service

Client instance

Extended by

Properties

runtime

protected runtime: IAgentRuntime

Runtime instance

Defined in

packages/core/src/types.ts:519


serviceType

static serviceType: string

Service type

Defined in

packages/core/src/types.ts:530


capabilityDescription

abstract capabilityDescription: string

Service name

Defined in

packages/core/src/types.ts:533


config?

optional config: object

Service configuration

Index Signature

[key: string]: any

Defined in

packages/core/src/types.ts:536

Methods

start()

static start(_runtime): Promise<Service>

Start service connection

Parameters

_runtime: IAgentRuntime

Returns

Promise<Service>

Defined in

packages/core/src/types.ts:539


stop()

static stop(_runtime): Promise<unknown>

Stop service connection

Parameters

_runtime: IAgentRuntime

Returns

Promise<unknown>

Defined in

packages/core/src/types.ts:544