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

Stabilize source field #85

Open
oltrep opened this issue Jun 9, 2022 · 0 comments
Open

Stabilize source field #85

oltrep opened this issue Jun 9, 2022 · 0 comments

Comments

@oltrep
Copy link
Contributor

oltrep commented Jun 9, 2022

Promises have an accessible, yet considered private by convention, _source field to them. It be great if the library could 'stabilize' it by removing the underscore or adding a method like getSource to the API.

A use case for that could be a test runner that keeps track of running promises and want to print out the source of each one to locate them.

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