Member Junction
    Preparing search index...

    Passed from stage to stage. Stages never touch storage: WorkingRecordHydrator builds one from a row and WorkingRecordCommitter writes the changes back, which is what lets the same stage code run live or as a test.

    record.Propose('Title', parsed.heading, 6, 'Extract.Html');   // persisted, competes on confidence
    record.SetExtension('Extract.Html', 'headingDepth', 2); // in memory, for a later stage
    Index

    Constructors

    Properties

    Accessors

    • get IsComplete(): boolean

      A stage has declared this record finished: committing it marks every other pending status Skipped. Discover raises it when a source already supplies everything a use case needs.

      Returns boolean

    Methods

    • Read an in-memory value a stage left for a later one. namespace is the writing stage's name.

      Type Parameters

      • T = unknown

      Parameters

      • namespace: string
      • key: string

      Returns T

    • Offer a value; it is taken if confidence is strictly higher than the current one, or when the proposing stage is replacing a value that the same stage wrote on a prior run (hydrated via Restore). That lets two stages resolve a shared field on merit while allowing a stage to refresh its own output on re-execution.

      Parameters

      Returns boolean

      True if the proposal was taken.