Re: [w3c/gamepad] Update playingEffectPromise synchronously (PR #182)

@nondebug commented on this pull request.



>                  </li>
                 <li>Set
                 [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}} to
                 `undefined`.
                 </li>
+                <li>[=Queue a global task=] on the [=relevant global object=]
+                of [=this=] using the [=gamepad task source=] to [=resolve=]
+                |effectPromise| with {{GamepadHapticsResult/"preempted"}}.
+                </li>

If we terminate here then we won't stop vibration when there's an effect playing.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/182#discussion_r1102109707
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/182/review/1292155996@github.com>

Received on Thursday, 9 February 2023 23:00:55 UTC