Skip to main content

WithStart

@hyperledger/identus-sdk v8.0.0


@hyperledger/identus-sdk / overview / WithStart

Type Alias: WithStart

WithStart = { start: () => Promise<void>; }

Defined in: packages/lib/sdk/src/pluto/types.ts:107

Start option that delegates database initialisation to a custom function.

Example

const opts: WithStart = {
start: async () => { await myCustomDbInit(); }
};

Properties

PropertyTypeDefined in
start() => Promise<void>packages/lib/sdk/src/pluto/types.ts:107