C# has a convenient way to create iterators using the yield return statement. The package ResumableFunctions provides the same functionality for the Julia language by introducing the @resumable and the @yield macros. These macros can be used to replace the Task switching functions produce and consume which were deprecated in Julia v0.6. Channels are the preferred way for inter-task communication in Julia v0.6+, but their performance is subpar for iterator applications.
Features
- Continuous integration
- Examples available
- Documentation available
- Static analysis
- C# style generators
- Semi-coroutines for Julia.
Categories
Data VisualizationLicense
MIT LicenseFollow ResumableFunctions.jl
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ResumableFunctions.jl!