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

Async methods #89

Closed
3 tasks
emilos opened this issue Oct 6, 2020 · 2 comments
Closed
3 tasks

Async methods #89

emilos opened this issue Oct 6, 2020 · 2 comments

Comments

@emilos
Copy link
Contributor

emilos commented Oct 6, 2020

Story

As a developer, I want to have async methods, like replaceAsync

Acceptance criteria

  • replaceAsync
  • findAsync
  • ...
@inikonorov
Copy link
Contributor

inikonorov commented Nov 16, 2020

just wrap functions in promises?) f.e.

return new Promise((resolve, reject) => {
    // ..function code
    resolve()

    // or if occured any mistake
    reject()
})

@emilos
Copy link
Contributor Author

emilos commented Nov 16, 2020

@inikonorov that would be a good start :) long term, I'd like to make async functions a bit more flexible, but it's not necessary for this issue

@emilos emilos closed this as completed Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants