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

[Idea]: achieve feature parity with async.js #9

Open
kgryte opened this issue Jan 11, 2023 · 1 comment
Open

[Idea]: achieve feature parity with async.js #9

kgryte opened this issue Jan 11, 2023 · 1 comment
Labels
difficulty: 2 Suitable for someone with some JavaScript experience. idea Potential GSoC project idea. priority: normal Normal priority. tech: javascript Involves programming in JavaScript. tech: nodejs Requires developing with Node.js.

Comments

@kgryte
Copy link
Member

kgryte commented Jan 11, 2023

Idea

Currently, stdlib has a limited set of dedicated "async" APIs for performing various utility operations. The goal of this idea is to achieve feature parity with async.js, a popular library providing callback-based async APIs.

Motivation for this idea stems from certain advantages afforded by callback-based asynchronous programming. Notable among them is superior performance and the ability to more readily return and inspect status objects.

Expected Outcomes

stdlib will have more or less 1:1 feature parity with async.js APIs.

Involved Software

async.js will serve as a reference implementation for API design. Will want to modify to match stdlib conventions.

Prerequisite Knowledge

JavaScript.

Difficulty

Beginner. Would benefit from someone with JavaScript experience.

Project Length

175/350 hours. Can be scoped accordingly.

Potential Mentors

@kgryte @Planeshifter @steff456

@kgryte kgryte added idea Potential GSoC project idea. priority: normal Normal priority. tech: javascript Involves programming in JavaScript. tech: nodejs Requires developing with Node.js. difficulty: 2 Suitable for someone with some JavaScript experience. labels Jan 11, 2023
@stdlib-js stdlib-js locked and limited conversation to collaborators Jan 11, 2023
@kgryte
Copy link
Member Author

kgryte commented Jan 30, 2024

This idea has as a prerequisite the refactoring of at least one async API to demonstrate the desired approach of returning an object which can query in-flight async operation status. Performing such a refactoring should be straightforward, but needs to be done beforehand in order to clearly provide a reference implementation and to prevent unnecessary refactoring work in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
difficulty: 2 Suitable for someone with some JavaScript experience. idea Potential GSoC project idea. priority: normal Normal priority. tech: javascript Involves programming in JavaScript. tech: nodejs Requires developing with Node.js.
Projects
None yet
Development

No branches or pull requests

1 participant