From d352dfd4f18360ea1a490d5941ec2063396f35d6 Mon Sep 17 00:00:00 2001 From: beefchimi Date: Wed, 27 Dec 2023 14:28:41 -0500 Subject: [PATCH] :speech_balloon: [Stack] Clarify comment --- src/Stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stack.ts b/src/Stack.ts index e330984..d8b9b5b 100644 --- a/src/Stack.ts +++ b/src/Stack.ts @@ -241,7 +241,7 @@ export class Stack extends EmittenCommon { readonly #handleSoundEnded: SoundEventMap['ended'] = (event) => { this.#setQueue(this.#queue.filter(({id}) => id !== event.id)); // We only set `stopping` state when `.stop()` is called. - // There is no `state` change specifically for "ended". + // There is an `ending` value, but it is redundant with the `ended` event. this.#handleStateFromQueue(); }; }