TaskWorker<I extends Object, R, U> constructor
TaskWorker<I extends Object, R, U> (
- String _name, [
- void _onFailure(
- MediaPipeException error
A worker for one task, which its errors name, such as
'DecisionMaker'; the optional callback hears the worker's failure as
it happens.
Implementation
TaskWorker(this._name, [this._onFailure]) {
_events.listen(_receive);
}