terminateEmbedPdfWorker static method

Future<void> terminateEmbedPdfWorker()

Terminates the EmbedPDF worker so the watchdog can fall back to PDF.js.

Implementation

static Future<void> terminateEmbedPdfWorker() =>
    EmbedPdfEngineView.debugTerminateWorker?.call() ?? Future<void>.value();