Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOS-React-1
QOS-React-1
/
fixtures
/
flight
/
src
/
library.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
9 lines
204 Bytes
Copy permalink
Copy
Raw
1
export
async
function
sdkMethod
(
input
,
init
)
{
2
return
fetch
(
input
,
init
).
then
(
async
response
=>
{
3
await
new
Promise
(
resolve
=>
{
4
setTimeout
(
resolve
,
10
);
5
});
6
7
return
response
;
8
});
9
}