Pawnote
    Preparing search index...

    Function discussions

    • Retrieve discussions from the server.

      Parameters

      • session: SessionHandle

        The current session handle.

      • cache: _DiscussionsCache = ...

        The cache to store discussions.

      Returns Promise<
          Readonly<
              {
                  folders: Readonly<
                      { id: string; kind: DiscussionFolderKind; name: string },
                  >[];
                  items: Discussion[];
              },
          >,
      >

      A promise that resolves to the discussions.