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

asynchronous APIs #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

asynchronous APIs #13

wants to merge 3 commits into from

Conversation

aleen42
Copy link

@aleen42 aleen42 commented Jan 21, 2019

corresponding to #12

@aleen42 aleen42 changed the title readFile async API asynchronous APIs Jan 21, 2019
Copy link
Member

@mathieudutour mathieudutour left a comment

Choose a reason for hiding this comment

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

The error handling is so nice, well done!

Regarding the delegate.js file, I'd prefer to use cocoascript-class (see #12) which doesn't use eval and doesn't create a new class everytime it's called.

Same, I'd rather have a bit of duplicated code than having an abstraction that forces us to use eval (which is terrible for performance)

@aleen42
Copy link
Author

aleen42 commented Jan 21, 2019

Okay, you can pick up what you want during this PR, and feel free to close.

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