assertValidPersistenceId
Este conteúdo não está disponível em sua língua ainda.
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.
Parameters
Section titled “Parameters”persistenceId
Section titled “persistenceId”string
origin?
Section titled “origin?”string
Returns
Section titled “Returns”void
