- From: Marcos Cáceres <notifications@github.com>
 - Date: Sun, 14 Jan 2024 21:45:46 -0800
 - To: w3c/gamepad <gamepad@noreply.github.com>
 - Cc: Subscribed <subscribed@noreply.github.com>
 
Received on Monday, 15 January 2024 05:45:52 UTC
@marcoscaceres commented on this pull request.
> +            </li>
+            <li>Let {{GamepadHapticActuator/[[playingEffectPromise]]}} be [=a
+            new promise=].
+            </li>
+            <li>Do the following steps [=in parallel=]:
+              <ol>
+                <li>[=Issue a haptic effect=] to the actuator with |type| and
+                |params|.
+                </li>
+                <li>When the effect completes, if
+                [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}} is
+                not `null`, [=queue a global task=] on the [=relevant global
+                object=] of [=this=] using the [=gamepad task source=] to run
+                the following steps:
+                  <ol>
+                    <li>[=Resolve=]
```suggestion
                    <li>If  [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}} is null, abort these steps.</li>
                    <li>[=Resolve=]
```
-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/190#pullrequestreview-1820922995
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/190/review/1820922995@github.com>
Received on Monday, 15 January 2024 05:45:52 UTC