Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Still a Promise#3808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
joaquinelio wants to merge8 commits intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromjoaquinelio:promisetask

Conversation

joaquinelio
Copy link
Member

Hello@iliakan

This may be seen as a trivial task at this point.
And the point I want to make is explained later in a Fetch task.

But a couple of times I found myself trying to defend the power of async to beginers and even the sync-veterans that love the beauty of result = dbSqlSelect()

they see await as a relief of pain
that's why I put it as a await task, and its name

You may do whatever you want with it, put it in another place, delete sillly jokes and comments, drop it entirely and make fun of it.
It was fun to write.

@javascript-translate-botjavascript-translate-bot added the review neededReview needed, please approve or request changes labelJan 28, 2025
@iliakan
Copy link
Member

Sure, let's add something like this, maybe split it into 2 tasks?

One will use .any, the other one .all ?

And perhaps replace horses with fetching urls? Just make a custom fetch function..

@joaquinelio
Copy link
MemberAuthor

Sure, let's add something like this, maybe split it into 2 tasks?
One will use .any, the other one .all ?

And perhaps replace horses with fetching urls? Just make a custom fetch function..

wow that was fast

  • 2 task? Once you finish the first, the other results too obvious. I thought a coment was enough.
    Can do.
    2 task or 1 task 2 questions?

  • Fetch? No fun in fetch. I love those horses.
    I thought a race is more fun and instructive, making a better point with the lazy and the correct way to solve it.
    Fun
    image

mm...
There is already THAT fetch task
https://javascript.info/fetch#fetch-users-from-github
it uses fetch, promise all, and json. There you ask NOT TO WAIT one to each other.
It's in another section tho, far later in the tutorial. Part 3, net req, fetch
Should I continue? what way?

@joaquinelio
Copy link
MemberAuthor

One will use .any, the other one .all ?

easy, done.
image

But if I finish the killing of the horses in favor of fetch, it'll be a new branch.
the fetch sketch branch looks itchy. What should I fetch() ?

@iliakan
Copy link
Member

Sorry for the delay, I just saw that the task needs a more serous consideration.

Surely we don't need duplicate tasks.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
review neededReview needed, please approve or request changes
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@joaquinelio@iliakan@javascript-translate-bot

[8]ページ先頭

©2009-2025 Movatter.jp