We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bf6300 + 49ffbc1 commit b6e5763Copy full SHA for b6e5763
README.md
@@ -211,6 +211,18 @@ const seam = new SeamHttp({
211
await seam.locks.unlockDoor({ device_id })
212
```
213
214
+If you have already have an action attempt id
215
+and want to wait for it to resolve, simply use
216
+
217
+```ts
218
+await seam.actionAttempts.get(
219
+ { action_attempt_id },
220
+ {
221
+ waitForActionAttempt: true,
222
+ },
223
+)
224
+```
225
226
Using the `waitForActionAttempt` option:
227
228
- Polls the action attempt up to the `timeout`
0 commit comments