Sanity Library Reference Docs
    Preparing search index...

    Variable resolveCommentThreadsConst Beta

    resolveCommentThreads: (
        instance: SanityInstance,
        options: ResolveCommentsOptions,
    ) => Promise<CommentThread[]> = ...

    Waits for a document's comments to load, grouped into threads.

    Type declaration

    Comments have moved to the organization collaboration API. Import from @sanity/sdk/collaboration; this add-on dataset API is removed in the next major.