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

persistenceIdRejection

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

persistenceIdRejection(persistenceId): string | null

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

Why persistenceId is unusable as a storage key, or null when it is fine.

Split out from assertValidPersistenceId so a caller that owes its own error type can reuse the rules rather than restate them — DurableStateOptionsValidator turns the same reason into an OptionsError, because there the id arrives as an option and the options layer owns that failure.

string

string | null