@hyperledger/identus-edge-agent-sdk / Exports / Domain / Protocols / Startable / IController
Interface: IController
Protocols.Startable.IController
define the structure of a Startable entity
Implemented by
Table of contents
Properties
Methods
Properties
state
• state: State
current status of the entity
Defined in
src/domain/protocols/Startable.ts:22
Methods
start
▸ start(): Promise
<State
>
handle the startup of an entity
updates state
according to lifecycle
Returns
Promise
<State
>
Defined in
src/domain/protocols/Startable.ts:30
stop
▸ stop(): Promise
<State
>
handle the teardown of an entity
updates state
according to lifecycle
Returns
Promise
<State
>