Skip to content

feat: rewrite so results are written to disk as they arrive #126

@MartinBernstorff

Description

@MartinBernstorff

Convert more of the main code to async, and write to markdown as results arrive. This means that, in the case of a crash, some results are still saved, and we can resume.

By implication, we might want to track "last updated" by document. Then we can avoid reprocessing highlights more than once. We could do that in .memorymarker.

OTOH, this might also be a lot of complexity for benefit only at times where we process large batches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions