-
Notifications
You must be signed in to change notification settings - Fork 4
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
Spec out the API for js-polykey #3
Comments
Since Polykey will predominantly have IO bound operations, we should definitely have async methods in the API. From #9
This will provide a much cleaner and future proof API. Is it still worth having sync methods in polykey? |
No it should just focus on async methods. |
This issue could be closed soon with a spec for the Polykey api. At least an initial spec that we can iterate on. It can be in the docs directory. But generated docs is different from written docs. We would need to separate the 2. |
We need to spec out the function types for js-polykey and the data structures that we are managing.
I've written notes on this in the Polykey repository, but they are all over the place and involve some older ideas. Hopefully @ll-aashwin-ll can clean them up and a better spec.
https://github.com/MatrixAI/PolyKey
See README.md, README2.md... etc.
We can discuss the spec here and eventually write them into the code. This
js-polykey
can be the first reference implementation.The text was updated successfully, but these errors were encountered: