Constructors

Methods

Constructors

Methods

  • Fold traces into the pages the cluster step assigns them to. An assignment whose page id the wiki refuses (see isWikiPageId) is not read, merged or written: it is reported in conflicts, with the reason as its note, and the other assignments go on. An assignment whose page the file system refuses for its path, such as a name too long or a file where a folder must be, is reported there too: writing it would fail the same way on every compile. Its traces are not counted as consumed. Any other failed write, such as a full disk or a missing permission, rejects the compile, so a caller that keeps a watermark compiles the same traces again.

    Parameters

    • input: {
          traces: TraceLike[];
          reason: "consolidation" | "session-end" | "explicit";
      }
      • traces: TraceLike[]
      • reason: "consolidation" | "session-end" | "explicit"

    Returns Promise<WikiCompileResult>