run<Q, R> abstract method

Future<R> run<Q, R>(
  1. Object key,
  2. dynamic message
)

Executes a callback that is associated with the key.

If no WorkerDelegate with key found, this will throw ArgumentError.

Implementation

Future<R> run<Q, R>(Object key, dynamic message);