Skip to main content

IController

@hyperledger/identus-sdk v8.1.3


@hyperledger/identus-sdk / overview / Domain / Startable / IController

Interface: IController

Defined in: packages/shared/domain/build/index.d.ts:2307

define the structure of a Startable entity

Extended by​

Properties​

PropertyTypeDescriptionDefined in
stateStatecurrent status of the entitypackages/shared/domain/build/index.d.ts:2311

Methods​

start()​

start(): Promise<State>

Defined in: packages/shared/domain/build/index.d.ts:2319

handle the startup of an entity

updates state according to lifecycle

Returns​

Promise<State>


stop()​

stop(): Promise<State>

Defined in: packages/shared/domain/build/index.d.ts:2327

handle the teardown of an entity

updates state according to lifecycle

Returns​

Promise<State>