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

Use a task queue to ensure code blocks are executed sequentially #510

Merged
merged 10 commits into from
Sep 9, 2024

Commits on Aug 6, 2024

  1. Only await on the last code block

    This ensures that all of the blocks are sent over in a single sequential batch, with no way for anyone else to execute their own block between two of ours, which would cause ordering issues
    DavisVaughan committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    8a11f88 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    5ecff24 View commit details
    Browse the repository at this point in the history
  2. Abstract out a callback

    DavisVaughan committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    407cb66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    826cb1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    285bcfa View commit details
    Browse the repository at this point in the history
  5. await calls to run()

    DavisVaughan committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    4f62422 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Switch to more official PQueue

    Lmao at the fact that I implemented this from scratch
    DavisVaughan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    8decce4 View commit details
    Browse the repository at this point in the history
  2. Rename to ExecuteQueue

    DavisVaughan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    a18dd6d View commit details
    Browse the repository at this point in the history
  3. Tweak docs

    DavisVaughan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    b3124ef View commit details
    Browse the repository at this point in the history
  4. Delete queue.ts

    DavisVaughan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    037e957 View commit details
    Browse the repository at this point in the history