osvScannerTaskProvider top-level property
A riverpod provider for the osv scanner task.
Implementation
final osvScannerTaskProvider = TaskProvider.configurable(
OsvScannerTask._taskName,
OsvScannerConfig.fromJson,
(ref, config) => OsvScannerTask(
programRunner: ref.watch(programRunnerProvider),
taskLogger: ref.watch(taskLoggerProvider),
config: config,
),
);