Nantucket E-Books on Nostr: Why is it that prompt() in the browser will nicely stop everything to wait for user ...
Why is it that prompt() in the browser will nicely stop everything to wait for user input, but rl.question() in Node requires elaborate callbacks?
Published at
2024-10-31 19:31:28Event JSON
{
"id": "592d2aace5d76e7cbbc9c853c8309ffc858961c82eda495dcebd96f42ec0f08b",
"pubkey": "2a47a6f5dbe694b43c90d3d3660606e8b3c04901964edca7bb30601038244121",
"created_at": 1730403088,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/nantucketebooks/statuses/113403696783468663",
"activitypub"
]
],
"content": "Why is it that prompt() in the browser will nicely stop everything to wait for user input, but rl.question() in Node requires elaborate callbacks?",
"sig": "29b6cf8becfab7d908d5ce242324a142e9161cf21111119de4d6750857bdebbd231c1baf1d26ee47dc8799e2859578d2dc93a7c60e2c3ca767c963632148a258"
}