Aller au contenu
Français

assertValidPersistenceId

Ce contenu n’est pas encore disponible dans votre langue.

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