Field Notes
    Preparing search index...

    Class AutoSave

    Index
    • Loads the saved state. Returns null when nothing is saved OR when the saved data cannot be read (corrupt, or written by a newer version). In the latter case the error is reported through onError and subsequent saves are refused until clear() or a later successful load(), so a newer file is never silently overwritten by an older build.

      Returns Promise<CanvasState | null>