IController
@hyperledger/identus-sdk v8.0.0
@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
| Property | Type | Description | Defined in |
|---|---|---|---|
state | State | current status of the entity | packages/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>