Перейти к содержимому
Русский

assertValidPersistenceId

Это содержимое пока не доступно на вашем языке.

assertValidPersistenceId(persistenceId, origin?): void

Defined in: src/persistence/storage/PersistenceIdValidator.ts:112

Reject a persistenceId that would corrupt the storage key it becomes.

origin names the site that supplied the id ('PersistentActor', a journal class name) — an invalid id is otherwise hard to attribute, because by the time a backend sees it the declaring actor is several frames away.

string

string

void