parseRunner property

Future<List<Node>> Function(String data, ExtensionSet? extensionSet)? parseRunner
final

Overrides the async parse executor. Null by default, in which case parsing runs in a background isolate via Isolate.run.

Provided for testing (widget tests cannot spawn real isolates) and for custom scheduling (e.g. a shared worker pool). The returned future must complete with the parsed node list for data.

Implementation

final Future<List<md.Node>> Function(
  String data,
  md.ExtensionSet? extensionSet,
)?
parseRunner;