We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I just installed this library and I wonder why all the methods of Star return Promise. It all comes from
public async getGeocentricEquatorialSphericalJ2000Coordinates(): Promise<EquatorialSphericalCoordinates> { return Promise.resolve(this.equatorialCoords); }
But why is this returning a Promise, since it does not do any IO or blocking operation? It seems like an unnecessary complication of the API.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I just installed this library and I wonder why all the methods of Star return Promise.
It all comes from
But why is this returning a Promise, since it does not do any IO or blocking operation? It seems like an unnecessary complication of the API.
The text was updated successfully, but these errors were encountered: