BackgroundTask<Params> typedef

BackgroundTask<Params> = FutureOr<void> Function(BackgroundTaskContext<Params> context)

Function signature for the task executed in the isolate.

This must be a static or top-level function (not a closure or instance method).

Implementation

typedef BackgroundTask<Params> =
    FutureOr<void> Function(BackgroundTaskContext<Params> context);