send method
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);
}
Sends a ThreadRequest to the thread for processing.
data
- The data to be processed by the thread.
@override
void send(ThreadRequest data) async {
sendPort.send(data);
activeTaskIds.add(data.id);
}