@nebius/js-sdk - v0.2.54
    Preparing search index...

    Class Cached

    Caches successful results from another resolver.

    The cache key contains both resolver arguments. Failed resolutions are not cached. Entries stay for the lifetime of this object and cannot be cleared. Use a new instance when endpoint mappings change.

    Implements

    Indexable

    • [key: symbol]: (() => string) | (() => object)

      Caches successful results from another resolver.

      The cache key contains both resolver arguments. Failed resolutions are not cached. Entries stay for the lifetime of this object and cannot be cleared. Use a new instance when endpoint mappings change.

      • () => string
          • (): string
          • Caches successful results from another resolver.

            The cache key contains both resolver arguments. Failed resolutions are not cached. Entries stay for the lifetime of this object and cannot be cleared. Use a new instance when endpoint mappings change.

            Returns string

      • () => object
          • (): object
          • Returns a JSON-safe value for logs.

            Returns object

    Index
    • Resolves a service ID and caches the address.

      Parameters

      • serviceId: string
      • OptionalapiServiceName: string

      Returns string