sequencer property

Sequencer<SequenceItemType> sequencer
final

The sequencer from which this Driver acquires new items to drive.

Driver implementations should listen to sequencer's Sequencer.stream. For example:

@override
Future<void> run(Phase phase) async {
  unawaited(super.run(phase));
  sequencer.stream.listen((newItem) {
    // some code that should operate on `newItem`
  });
}

Implementation

final Sequencer<SequenceItemType> sequencer;