queueGeneration method

void queueGeneration(
  1. SMCatFile smCatFile
)

Used by the watch mechanism to queue a smcat file for conversion to an svg file.

You can however also queue files for generation via this mechanism.

Implementation

void queueGeneration(SMCatFile smCatFile) {
  _toGenerate.add(smCatFile);

  Future.delayed(const Duration(microseconds: 1500), delayedGeneration);
}