outdatedTaskProvider top-level property

ConfigurableTaskProviderFamily<OutdatedTask, OutdatedConfig> outdatedTaskProvider
final

A riverpod provider for the outdated task.

Implementation

final outdatedTaskProvider = TaskProvider.configurable(
  OutdatedTask._taskName,
  OutdatedConfig.fromJson,
  (ref, OutdatedConfig config) => OutdatedTask(
    programRunner: ref.watch(programRunnerProvider),
    logger: ref.watch(taskLoggerProvider),
    config: config,
  ),
);