Comunica
    Preparing search index...
    • Convert a metadata callback to a lazy callback where the response value is cached.

      Type Parameters

      • M extends IMetadata<T>
      • T extends Variable | QuadTermName

      Parameters

      • metadata: () => Promise<M>

        A metadata callback

      Returns () => Promise<M>

      The callback where the response will be cached.