Function domainReloadPersistent

  • Enables the persistence of the decorated field value between domain reloads.

    Returns ((target: any, propertyKey?: string) => void)

      • (target, propertyKey?): void
      • Parameters

        • target: any
        • OptionalpropertyKey: string

        Returns void

    It's important that the value is serializable, otherwise data can still be lost.

    Only static fields are supported. Decorating non-static fields with this decorator is an error and will throw an exception.