Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / Service

Class: abstract Service

Extended by

Constructors

new Service()

new Service(): Service

Returns

Service

Accessors

serviceType

Get Signature

get static serviceType(): ServiceType

Returns

ServiceType

Defined in

packages/core/src/types.ts:1005


serviceType

Get Signature

get serviceType(): ServiceType

Returns

ServiceType

Defined in

packages/core/src/types.ts:1016

Methods

getInstance()

static getInstance<T>(): T

Type Parameters

T extends Service

Returns

T

Defined in

packages/core/src/types.ts:1009


initialize()

abstract initialize(runtime): Promise<void>

Add abstract initialize method that must be implemented by derived classes

Parameters

runtime: IAgentRuntime

Returns

Promise<void>

Defined in

packages/core/src/types.ts:1021