Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Function applyChanges

    • Applies a response to rows and returns the result, leaving rows as it was. A reset response without after starts from no rows; a later seed page adds to what is held. Deletes apply before puts. digest is the digest of rows when the caller holds it, which makes the work one row hash per replaced, deleted or added row; without it the digest of rows is computed first. With options.hashes a replaced or deleted row's old hash is read, not computed, and the result carries the hashes after the response. Pure: no I/O, no clock.

      Parameters

      Returns Promise<Applied>