repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5adf6ca
)
docs: refine code comments
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 3 Sep 2023 14:46:48 +0000
(16:46 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 3 Sep 2023 14:46:48 +0000
(16:46 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Utils.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index a2cb233ad26bc10e3d674f8ca459f3093fba4642..e01aa75f34cdec07237f3cbe5c1f60bd98cabfd9 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-301,7
+301,7
@@
export const promiseWithTimeout = async <T>(
/* This is intentional */
},
): Promise<T> => {
- // Create a timeout promise that rejects in timeout milliseconds
+ // Create
s
a timeout promise that rejects in timeout milliseconds
const timeoutPromise = new Promise<never>((_, reject) => {
setTimeout(() => {
if (isPromisePending(promise)) {