Skip to main content

RunProtocol

@hyperledger/identus-sdk v7.0.0


@hyperledger/identus-sdk / overview / RunProtocol

Class: RunProtocol

Defined in: src/edge-agent/helpers/RunProtocol.ts:77

Find and execute a task registered by plugins for the given pid (protocol identifier)

Extends

Constructors

Constructor

new RunProtocol(...args: [RunProtocolArgs]): RunProtocol

Defined in: src/utils/tasks.ts:18

Parameters

ParameterTypeDescription
...args[RunProtocolArgs]

Returns

RunProtocol

Inherited from

Task.constructor

Methods

log()

log(): unknown

Defined in: src/utils/tasks.ts:26

Returns

unknown

Inherited from

Task.log


run()

run(ctx: AgentContext): Promise<any>

Defined in: src/edge-agent/helpers/RunProtocol.ts:78

Parameters

ParameterType
ctxAgentContext

Returns

Promise<any>

Overrides

Task.run