Skip to content

Function: createIndexSnapshot() ​

ts
function createIndexSnapshot(client, options?): Promise<{
[key: string]: unknown;
  futureAbsolutePath?: string;
}>;

Defined in: src/server/api/indexing.ts:29

Starts taking an index snapshot if no other snapshot creation process is in progress

Parameters ​

ParameterType
clientClient
options?RequestOptions

Returns ​

Promise<{ [key: string]: unknown; futureAbsolutePath?: string; }>