Skip to content
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

Added the FAQ section #968

Merged
merged 9 commits into from
Jan 28, 2025
Merged

Added the FAQ section #968

merged 9 commits into from
Jan 28, 2025

Conversation

taras
Copy link
Member

@taras taras commented Jan 28, 2025

Motivation

Promises are a hot topic, and I want to make sure people understand why working has a few small caveats.

Approach

Added FAQ section with

  1. Why can't I yield* to a promise?
  2. Can I make Promise compatible with yield*?
  3. Why can't I use call(Promise.resolve(42)) anymore?

Co-authored-by: Charles Lowell <cowboyd@frontside.com>
Co-authored-by: Charles Lowell <cowboyd@frontside.com>
Co-authored-by: Charles Lowell <cowboyd@frontside.com>
Co-authored-by: Charles Lowell <cowboyd@frontside.com>
Co-authored-by: Charles Lowell <cowboyd@frontside.com>
Co-authored-by: Charles Lowell <cowboyd@frontside.com>
@taras taras merged commit 7b62a3a into v4 Jan 28, 2025
5 checks passed
@taras taras deleted the v4-promises branch January 28, 2025 18:55
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.

2 participants