clearThread method

void clearThread(
  1. String path
)

Implementation

void clearThread(String path) {
  final normalizedPath = path.trim();
  if (normalizedPath.isEmpty) {
    return;
  }
  _touchedThreadPaths.remove(normalizedPath);
  _statusByThreadPath.remove(normalizedPath);
  _pendingMessagesByThreadPath.remove(normalizedPath);
  _toolCallAccumulatorsByThreadPath.remove(normalizedPath);
}