Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Listener order dependency with two UtteranceQueues sharing an Announcer

Aperta
#49 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
accessibility

Direzione di ricerca

Reproduce the issue with two UtteranceQueues sharing one Announcer, keeping the first queue nonempty. Start by tracing how UtteranceQueues are stepped through the stepTimer listener order and how readyToSpeak is consumed; done means both queues can announce rather than the later queue being blocked indefinitely.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type:bug

If you share an Announcer between two UtteranceQueues and an UtteranceQueue doesn't empty it is is possible that the second UtteranceQueue will never get to announce because the Announcer is used up (never readyToSpeak ) by the first UtteranceQueue.

UtteranceQueues are stepped, and the order that they are stepped is determined by stepTimer listener order (i.e. order of UtteranceQueue creation). If the first UtteranceQueue in listener order always has Utterances, the second one may never speak.

Lingua principale
TypeScript
Stelle
1
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di phetsims/utterance-queue

Tutte le issue di phetsims/utterance-queue

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.