QuadIdRetriever: (obj: unknown, context: ContextForQuad) => string

Deterministically retrieve a unique id for a given object.

Type declaration

    • (obj: unknown, context: ContextForQuad): string
    • Parameters

      • obj: unknown

        The object to retrieve the id for

      • context: ContextForQuad

        to provide unique ids even for different contexts, we add the context to the id.

      Returns string