Skip to content

docs: align fromSync async input behavior with spec#18

Open
trivikr wants to merge 1 commit into
WinterTC55:mainfrom
trivikr:stream-from-sync-input
Open

docs: align fromSync async input behavior with spec#18
trivikr wants to merge 1 commit into
WinterTC55:mainfrom
trivikr:stream-from-sync-input

Conversation

@trivikr

@trivikr trivikr commented May 26, 2026

Copy link
Copy Markdown

Summary

Update API.md so the Stream.fromSync() documentation matches index.bs.

Changes

  • Clarifies that toAsyncStreamable is ignored by Stream.fromSync(), not rejected
  • Documents that explicit async inputs are rejected, including async-only iterables and promises
  • Adds examples of promise resolution types that are still rejected

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