跳转到内容
简体中文

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