taTanStackOSS
ta
  • Pipelines
  • Nx runs
Insights
  • Compare tasks
  • Analytics
aiai
  1. Pipelines
  2. refactor(ai-utils, openai-base, ai-openrouter): share one drainAfterTerminal helper Move the duplicated helper into @tanstack/ai-utils. ReadableStreams are read with a reader so they can be cancelled during a pending read; other iterables take an abort callback (the OpenAI SDK Stream controller). OpenRouter reuses normalizeStreamEvent for the event type. Fix the doc comment, drop wall-clock assertions, and add fake-timer unit tests.
    nx run-many --targets=build --exclude=examples/**,testing/**
refactor(ai-utils, openai-base, ai-openrouter): share one drainAfterTerminal helper

Succeeded in 2m 44s

Started
Linux4 CPU cores
read access token used

nx run-many --targets=build --exclude=examples/**,testing/**

1966fff1512GitHubOpen on GitHub
TasksResource Usage
Resource usage reports are turned off for this workspace
Your organization has the Resource usage add-on, but this workspace does not collect metrics for non distributed runs. Turn it back on in workspace settings.

© 2026 Nx Cloud

  • Terms
  • Privacy
  • Changelog
  • Status
  • Docs
  • Contact
  • Pricing
  • Company
  • @NxDevTools
taTanStackOSS