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

Add new principle for sync() vs async(). #417

Merged
merged 10 commits into from
Feb 9, 2023
Merged

Add new principle for sync() vs async(). #417

merged 10 commits into from
Feb 9, 2023

Conversation

cynthia
Copy link
Member

@cynthia cynthia commented Feb 8, 2023

Resolves #402.


Preview | Diff

index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated
and made asynchronous the norm
while making synchronous the exception.

Note: At the moment, the only known case where this is
Copy link
Member

@LeaVerou LeaVerou Feb 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the only case, Node.js has quite a few of these in fs methods.

index.bs Outdated Show resolved Hide resolved
cynthia and others added 4 commits February 9, 2023 10:22
Co-authored-by: Lea Verou <[email protected]>
Co-authored-by: Lea Verou <[email protected]>
Co-authored-by: Lea Verou <[email protected]>
Co-authored-by: Peter Linss <[email protected]>
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@cynthia cynthia merged commit 6d5314b into main Feb 9, 2023
hober pushed a commit that referenced this pull request Apr 20, 2023
* Add new principle for sync() vs async().

Resolves #402.

* Update index.bs

Co-authored-by: Lea Verou <[email protected]>

* Update index.bs

Co-authored-by: Lea Verou <[email protected]>

* Update index.bs

Co-authored-by: Lea Verou <[email protected]>

* Update index.bs

Co-authored-by: Peter Linss <[email protected]>

* Update index.bs

* Update index.bs

* Update index.bs

* Update index.bs

* Apply suggestions from code review

---------

Co-authored-by: Lea Verou <[email protected]>
Co-authored-by: Peter Linss <[email protected]>
@plinss plinss deleted the jspi-plz branch April 21, 2023 02:30
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.

New principle: Patterns for x() vs xSync()
3 participants