GoToSourceCallback typedef

GoToSourceCallback = Future<void> Function(List<SourceFrame> frames, {int startIndex})

Callback invoked when the DTD service receives a goToSource request.

The TS shell provides this callback to bridge DTD requests into VS Code command execution.

Implementation

typedef GoToSourceCallback = Future<void> Function(
  List<SourceFrame> frames, {
  int startIndex,
});