Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4504062
simple_sync_await.cjs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
262 B
Referenced Files
None
Subscribers
None
simple_sync_await.cjs
View Options
// Test that works (sync promise)
async function testSync() {
console.log("Before await");
const result = await Promise.resolve("SYNC");
console.log("After await:", result);
return "RETURNED_" + result;
}
testSync().then(r => console.log("Final:", r));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 9:41 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
518188
Default Alt Text
simple_sync_await.cjs (262 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment