콘텐츠로 이동
한국어

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