Skip to main content

JobManager

@hyperledger/identus-sdk v8.1.3


@hyperledger/identus-sdk / overview / JobManager

Class: JobManager

Defined in: packages/lib/sdk/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 stopspackages/lib/sdk/src/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 againpackages/lib/sdk/src/edge-agent/connections/JobManager.ts:21

Methods​

stop()​

stop(): void

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

Stops all jobs

Returns​

void