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

Alternative concise syntax for async functions on objects #22

Open
davej opened this issue Jul 15, 2015 · 0 comments
Open

Alternative concise syntax for async functions on objects #22

davej opened this issue Jul 15, 2015 · 0 comments

Comments

@davej
Copy link

davej commented Jul 15, 2015

Currently it is possible to do:

methods = {
  init = async with ->
    ;; async function here
}

This is not very consistent with other async functions in EG, it may be preferable to do:

methods = {
  init = async ->
    ;; async function here
}
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

No branches or pull requests

1 participant