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

manage chat accessibility response/requests per session #197006

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Oct 30, 2023

fix #196735
fix #196736

cc @jrieken

@meganrogge meganrogge self-assigned this Oct 30, 2023
@meganrogge meganrogge added this to the November 2023 milestone Oct 30, 2023
private _runOnceScheduler: RunOnceScheduler;
private _lastResponse: string | undefined;
private _requestId: number = 0;

constructor(@IAudioCueService private readonly _audioCueService: IAudioCueService) {
super();
this._register(this._runOnceScheduler = new RunOnceScheduler(() => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you schedule this twice in a row quickly, I think it will only run until the second request is done? In reality I think you will rarely have two requests going simultaneously.

@meganrogge meganrogge merged commit 32eb05b into main Oct 30, 2023
7 checks passed
@meganrogge meganrogge deleted the merogge/session branch October 30, 2023 17:11
@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants