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

YAML.visit() should support async visitors #362

Closed
eemeli opened this issue Feb 21, 2022 · 0 comments · Fixed by #372
Closed

YAML.visit() should support async visitors #362

eemeli opened this issue Feb 21, 2022 · 0 comments · Fixed by #372
Labels
enhancement New feature or request

Comments

@eemeli
Copy link
Owner

eemeli commented Feb 21, 2022

Is your feature request related to a problem? Please describe.
Custom tags need to be sync, so that e.g. YAML.parse() may stay synchronous. Asynchronous tag resolution therefore needs a different solution.

Describe the solution you'd like
It should be possible to return a promise from a visitor, and have that "just work".

Additional context
Original issue raised by @suerta-git in discussion #359.

@eemeli eemeli added the enhancement New feature or request label Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant