Skip to content

Adding documentation Example on how to do parallel loading with Promi… #825

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mamatha1718
Copy link

@Mamatha1718 Mamatha1718 commented Apr 29, 2025

Added New Example: Parallel Loading with Promise.all

Adding a new example demonstrating how to use Promise.all with asynchronous functions in p5.js.

Solve Issue #7674

JavaScript File (.js):

Implements Promise.all to load multiple assets in parallel and display the result after all are resolved.

Description File (.mdx):

Explains the concept of Promise.all.

Thumbnail image:

16_Async_Await_PromiseAll-thumbnail.png added to src/content/examples/images/featured/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant