Israeli Bank Importer - v1.44.5
    Preparing search index...

    Function serialiseRecords

    • Serialises records the store already owns.

      Takes IOwnedRecords rather than anything the caller still holds a reference to. That is the whole defence: there is no copy step here to get wrong and no second read to disagree with the first, because the value arriving was read once, frozen, and stripped of its prototype before it ever reached this module.

      Parameters

      • owned: IOwnedRecords

        Records the store copied out of the request.

      Returns Procedure<ISerialised>

      The JSON text and its record count, or why it cannot be written.