Skip to content

browser: export AbortableAsyncIterator type#267

Merged
BruceMacD merged 1 commit intoollama:mainfrom
majiayu000:fix/export-abortable-async-iterator
Jan 5, 2026
Merged

browser: export AbortableAsyncIterator type#267
BruceMacD merged 1 commit intoollama:mainfrom
majiayu000:fix/export-abortable-async-iterator

Conversation

@majiayu000
Copy link
Contributor

Summary

  • Export AbortableAsyncIterator type from the browser module
  • Add test to verify type can be imported from ollama/browser

Test plan

  • TypeScript compilation succeeds
  • Existing tests pass
  • New test verifies type export works

Fixes #135

Export AbortableAsyncIterator type from the browser module to allow
users to import this type when using ollama/browser.

Fixes ollama#135

Signed-off-by: majiayu000 <1835304752@qq.com>
@BruceMacD BruceMacD merged commit f7827ba into ollama:main Jan 5, 2026
4 checks passed
Copy link
Member

@BruceMacD BruceMacD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@majiayu000
Copy link
Contributor Author

Happy to help!

@majiayu000 majiayu000 deleted the fix/export-abortable-async-iterator branch January 6, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AbortableAsyncIterator type export

2 participants