Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awsdocs/aws-doc-sdk-examples
/ wait
Function
wait
javascriptv3/example_code/libs/utils/util-timers.js:4–9 ·
view source on GitHub ↗
(seconds)
Source
from the content-addressed store, hash-verified
2
// SPDX-License-Identifier: Apache-2.0
3
4
const
wait = (seconds) =>
5
new
Promise((resolve) =>
6
setTimeout(() => {
7
resolve();
8
}, seconds * 1000),
9
);
10
11
/**
12
* @template T
Callers
8
entity-resolution-basics.js
File · 0.90
create-delete-datastore.integration.test.js
File · 0.90
scenario-auto-confirm.js
File · 0.90
waitForAgentStatusNotToBe
Function · 0.90
iotsitewise-basics.js
File · 0.90
eventbridge.integration.test.js
File · 0.90
waitForCrawler
Function · 0.90
waitForJobRun
Function · 0.90
Calls
no outgoing calls
Tested by
1
waitForAgentStatusNotToBe
Function · 0.72