WorkerCallback<T> typedef

WorkerCallback<T> = dynamic Function(T callback)

A typedef representing a callback function used by workers.

The WorkerCallback typedef defines a function signature that takes a callback of type T as input.

Implementation

typedef WorkerCallback<T> = Function(T callback);