Skip to main content

JobManager

@hyperledger/identus-sdk v7.0.0


@hyperledger/identus-sdk / overview / JobManager

Class: JobManager

Defined in: src/edge-agent/connections/JobManager.ts:3

Constructors

Constructor

new JobManager(): JobManager

Returns

JobManager

Properties

PropertyModifierTypeDefault valueDescriptionDefined in
cancellablespublicCancellableTask<any>[][]An array with cancellable tasks, mainly used to store one or multiple didcomm connections in storage implementation at the same time. All of them can be cancelled despite they run asyncronously when the Edge agent stopssrc/edge-agent/connections/JobManager.ts:13
fetchMessages?publicCancellableTask<void>undefinedCancellable task used to listen for new messages, stopping the Agent should also stop this from running and destroy the instance of the task until agent is started againsrc/edge-agent/connections/JobManager.ts:21

Methods

stop()

stop(): void

Defined in: src/edge-agent/connections/JobManager.ts:27

Stops all jobs

Returns

void