send method

  1. @override
void send(
  1. ThreadRequest data
)
override

Sends a ThreadRequest to the thread for processing.

data - The data to be processed by the thread.

Implementation

@override
void send(ThreadRequest data) async {
  sendPort.send(data);
  activeTaskIds.add(data.id);
}