Treblle / community

Treblle community is the meta-repo for our community to hold discussions, and point to areas in the Treblle community for our members
MIT License
2 stars 1 forks source link

Mastering async/await in JavaScript #3

Open JustSteveKing opened 7 months ago

JustSteveKing commented 7 months ago

Title

Mastering async/await in JavaScript

Brief

Write an article walking through how to efficiently handle async/await in JavaScript or TypeScript.

Guidelines:

Content Preparation:

Plagiarism Check:

Ensure your content is original by checking it for plagiarism. You can use a plagiarism checker like QUILBOT and share a screenshot showing the plagiarism percentage (ideally 25% max).

Collaboration & Avoiding Duplicates:

Claiming an Issue: If you'd like to write about a specific blog post topic, comment on the issue with a brief outline of your planned table of contents. This helps prevent two contributors from working on similar content.

Confirmation Checklist:

[ ] You accept our Code of Conduct. [ ] My blog post is written in Google Docs and you have view permission. [ ] I've included relevant visuals and examples to enhance understanding. [ ] My content is original and AI-free. I've run a plagiarism check and can share the results. [ ] I've commented on the issue with a table of contents outline (if applicable).

Once you've completed these steps, check the boxes and feel free to submit your blog post! We appreciate your contribution to the Treblle community.

emee-dev commented 6 months ago

Hey, I would love to work on this. I have written one already

Rahulkhinchi03 commented 5 months ago

Hi @emee-dev, Could you please confirm the checklist in the pinned comment for us to review your article?

emee-dev commented 5 months ago

Ok let me do that

emee-dev commented 5 months ago

Hi @emee-dev, Could you please confirm the checklist in the pinned comment for us to review your article?

Hey how can I do this, by PR ??

emee-dev commented 5 months ago

[x] You accept our Code of Conduct. [x] My blog post is written in Google Docs and you have view permission. [x] I've included relevant visuals and examples to enhance understanding. [x] My content is original and AI-free. I've run a plagiarism check and can share the results. [x] I've commented on the issue with a table of contents outline (if applicable).

Table of Contents

  1. Promise
  2. Custom Promises
  3. Async Loops
  4. Generator Functions
  5. Pitfalls to avoid
  6. Error handling
  7. Cancellation of Asynchronous Operations
  8. Conclusion

I have improved the article to be less AI like, for some reason Quillbot says my code snippets are AI generated

Google doc https://docs.google.com/document/d/1WK4ho--WJk5u1v_gSy_hS65Ix9s6GRz9Ii-yUDiELZg/edit?usp=sharing

JustSteveKing commented 5 months ago

@Rahulkhinchi03 could you please have a look at this?

Rahulkhinchi03 commented 5 months ago

Hi @emee-dev, Your article is great!

Could you please also add: difference between promise.all and promise.allSettled?

emee-dev commented 5 months ago

Hi @emee-dev, Your article is great!

Could you please also add: difference between promise.all and promise.allSettled?

Alright once I get home I would

emee-dev commented 5 months ago

Hi @emee-dev, Your article is great!

Could you please also add: difference between promise.all and promise.allSettled?

I have made a new PR with the differences

emee-dev commented 5 months ago

Hi @emee-dev, Your article is great! Could you please also add: difference between promise.all and promise.allSettled?

Alright once I get home I would

Here is the link to the doc: https://docs.google.com/document/d/1WK4ho--WJk5u1v_gSy_hS65Ix9s6GRz9Ii-yUDiELZg/edit?usp=sharing