start method

  1. @override
DetectorSession<C, K> start(
  1. C sources
)
override

Captures the baseline and returns a session that can diff against it.

Implementation

@override
DetectorSession<C, K> start(C sources) {
  startCount++;
  if (throwOnStart) throw StateError('ScriptedDetector($id).start');

  return _ScriptedSession<C, K>(this);
}