Default implementation of the async parser which simply wraps the sync parser in a promise.
A real implementation would create worker threads or web workers to offload the parsing work.
Protected
Readonly
Parses the given text and returns the parse result.
The text to parse.
A promise that resolves to the parse result.
OperationCancelled if the parsing process is cancelled.
OperationCancelled
Default implementation of the async parser which simply wraps the sync parser in a promise.
Remarks
A real implementation would create worker threads or web workers to offload the parsing work.