Aberdeen - v1.0.3
    Preparing search index...

    Function applyPrediction

    • Run the provided function, while treating all changes to Observables as predictions, meaning they will be reverted when changes come back from the server (or some other async source).

      Parameters

      • predictFunc: () => void

        The function to run. It will generally modify some Observables to immediately reflect state (as closely as possible) that we expect the server to communicate back to us later on.

      Returns Patch

      A Patch object. Don't modify it. This is only meant to be passed to applyCanon.