Skip to content

parser(node-binding): clarify when to use parseAsync #15361

@sapphi-red

Description

@sapphi-red

Since parseSync can be called in async functions and parseSync is normally faster than parseAsync, I'm not sure when to use parseAsync.

I'd suggest:

  • writing when to use parseAsync to JSDoc / document
  • (if that's the case) writing that parseSync is recommended to JSDoc / document

Metadata

Metadata

Assignees

Labels

A-parserArea - ParserC-docsCategory - Documentation. Related to user-facing or internal documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions