About 11,500 results
Open links in new tab
  1. why am I getting Promise { <pending> }? : r/node - Reddit

    Apr 27, 2022 · All async functions return a promise. To get the actual return value from inside the function you need to resolve the promise, usually by using await. For example: const func1 = …

  2. Assigning data from a promise to a "constant" - Reddit

    Aug 19, 2021 · This means anything that depends on values in a promise has to be dealt with in a then() callback from that promise. const promise = Promise.resolve(4) promise.then(value => { …

  3. The Last Promise - Chapter by Chapter Guide and Info Compilation

    Apr 13, 2022 · Hey! I worked on a Chapter by Chapter guide that compiles information for The Last Promise for blind players and even has obscure tidbits for all players. Also gives guidance …

  4. async function returning Promise<void> successfully implements …

    Jul 13, 2021 · 16 votes, 27 comments. Hi, Here is a playground with my issue. In short, I'm trying to understand why public async func(): Promise<void> {} is a…

  5. A promise ring means you’re never getting married.

    Mar 1, 2024 · A promise ring is an empty promise. If you were ready for the commitment, you would buy an engagement ring. Or just get married. The only reason to get a promise ring is …

  6. Promise<T> is not assignable to T | Promise<T> returned by

    May 21, 2022 · Type 'Promise<TQueryFnData>' is not assignable to type TQueryFnData | Promise<TQueryFnData> which doesn't make sense to me, since Promise<TQueryFnData> …

  7. Questions about nyu promise : r/nyu - Reddit

    Nov 5, 2023 · THe nyu promise gurantee free tuition for under 100k family. so does that mean u won't get any additional scholarship? and is housing covered? Archived post. New comments …

  8. Can i force a promise to resolve synchronously : r/javascript - Reddit

    but I don't have a handle to the promise since it's used by the business logic code. this sentence shows you have a lack of knowledge-promise is a regular value like any other object. You can …

  9. We made a pinky promise for a reason : r/Genshin_Memepact

    Ok, but seriously!!! In one of my group chats, I threatened to riot should we get to the Winter Wonderland and not get to see Teucer again (or meet the rest of Childe's family). Like, they …

  10. Argument of type 'Promise<unknown>' is not assignable to

    Mar 31, 2022 · It looks like bcrypt.hash provides the result via callback, so it probably returns void (a.k.a. nothing): ...