Package Exports
- @azure/core-asynciterator-polyfill
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@azure/core-asynciterator-polyfill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Azure Async Iterator Polyfill client library for JS
This library provides a polyfill for Symbol.asyncIterator for platforms that do not have support for it by default.
Getting started
Installation
If using this as part of another project in the azure-sdk-for-js repo,
then run rush install after cloning the repo.
Otherwise, use npm to install this package in your application as follows
npm install @azure/core-asynciterator-polyfillKey concepts
Symbol.asyncIterator is not supported in all platforms and therefore you might need a polyfill in order to get it working on such platforms. Importing the polyfill from this library lets you use the iterator in your applications.
Examples
To use this polyfill, just include an import of this library in your code
import "@azure/core-asynciterator-polyfill";Next steps
Try out this package in your application if you are working on platforms that do not have support for Symbol.asyncIterator and provide feedback!
Troubleshooting
Log an issue at https://github.com/Azure/azure-sdk-for-js/issues
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.