mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 20:08:34 +00:00
38 lines
574 B
Markdown
38 lines
574 B
Markdown
[**simplex-chat**](README.md)
|
|
|
|
***
|
|
|
|
[simplex-chat](README.md) / [core](Namespace.core.md) / chatMigrateInit
|
|
|
|
# Function: chatMigrateInit()
|
|
|
|
> **chatMigrateInit**(`dbPath`, `dbKey`, `confirm`, `queueSize?`): `Promise`\<`bigint`\>
|
|
|
|
Defined in: [src/core.ts:29](../src/core.ts#L29)
|
|
|
|
Initialize chat controller
|
|
|
|
## Parameters
|
|
|
|
### dbPath
|
|
|
|
`string`
|
|
|
|
### dbKey
|
|
|
|
`string`
|
|
|
|
### confirm
|
|
|
|
[`MigrationConfirmation`](core.Enumeration.MigrationConfirmation.md)
|
|
|
|
### queueSize?
|
|
|
|
`number`
|
|
|
|
Size of internal queues, the core default is used when omitted.
|
|
|
|
## Returns
|
|
|
|
`Promise`\<`bigint`\>
|