Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to debounce updates and debounce awareness updates #12

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Dec 18, 2023

  1. Configuration menu
    Copy the full SHA
    c392dc7 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Lint fixes (including some meaningful ones)

    Ben Lewis committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    516fc63 View commit details
    Browse the repository at this point in the history
  2. Fix mistake in last commit

    Ben Lewis committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    e6cab08 View commit details
    Browse the repository at this point in the history
  3. Add ability to debounce awareness updates

    Ben Lewis committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    71df4b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d64121d View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Copy maxWait approach from Lodash debounce

    Make debounced awareness run at least once per maxWaitForDebouncingAwareness
    Make debounced updates run at least once per maxWaitForDebouncingUpdates
    Ben Lewis committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    cf9f8f1 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Fix bug in sync acknowledgement via socket.io lost

    Ben Lewis committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    147faf0 View commit details
    Browse the repository at this point in the history
  2. Add localOnly and timeoutForAck arguments

    These flags are used on the server-side.
    `localOnly` uses the `.local` feature on socket.io (which useful when synchronizing via another channel, e.g. Redis pub / sub, between servers, which is necessary anyway to ensure the server state is synchronized properly)
    `timeoutForAck` determines the timeout for the "sync-step-1" event
    Added error handling to failed acknowledgement for "sync-step-1"
    Ben Lewis committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    af9e22f View commit details
    Browse the repository at this point in the history
  3. Fix handshake type in authenticate argument

    Ben Lewis committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    85f00bb View commit details
    Browse the repository at this point in the history