Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Add more examples / uses to the Concurrency section in the documentation guide of Fs2 #3437

Merged
merged 10 commits into from
May 30, 2024

Commits on May 16, 2024

  1. 📝 Edited guide.md

    Added some examples of `parEvalMap` to the *Concurrency* section in the documentation guide.
    Hombre-x committed May 16, 2024
    Configuration menu
    Copy the full SHA
    6a26375 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. 📝 Edited guide.md

    Added reasoning about `merge` halting variants and an example of `concurrently` using a producer consumer demo (this example only works in Scala 3)
    Hombre-x committed May 17, 2024
    Configuration menu
    Copy the full SHA
    43fc6c2 View commit details
    Browse the repository at this point in the history
  2. 📝 Edited guide.md

    Added a similar consumer-producer example to the `parJoin` method.
    Also mentioned the `parJoinUnbounded` version.
    Hombre-x committed May 17, 2024
    Configuration menu
    Copy the full SHA
    cb6929a View commit details
    Browse the repository at this point in the history
  3. 🐛📝 Changed Scala 3 code to version 2

    Apparently, `mdoc` does not have a way to distinguish between Scala 2 and Scala 3 AFAIK. So this commit changes the examples in Scala 3 to Scala 2.
    Hombre-x committed May 17, 2024
    Configuration menu
    Copy the full SHA
    43036a3 View commit details
    Browse the repository at this point in the history
  4. 🐛📝 Added test files and changed parEvalMap example

    The sample routes in the example are actually linked to the project, so I used the testdata/ folder to place some lorem ipsum files.
    Hombre-x committed May 17, 2024
    Configuration menu
    Copy the full SHA
    c777ae8 View commit details
    Browse the repository at this point in the history
  5. 🐛📝 Changed the parJoin example

    The previous one had conflict because of previous definitions in the `concurrently` one.
    
    The new example also runs three streams at the same time to differentiate it a bit more from `merge`.
    Hombre-x committed May 17, 2024
    Configuration menu
    Copy the full SHA
    a65f9de View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. ✏️📝 Updated guide.md

    Changed tree 🌳 to three in typo on `merge`
    
    Co-authored-by: Michael Pilquist <mpilquist@gmail.com>
    Hombre-x and mpilquist authored May 22, 2024
    Configuration menu
    Copy the full SHA
    4b55bb5 View commit details
    Browse the repository at this point in the history
  2. 📝 Updated guide.md

    Changed 'optimizations' word from british to american english
    
    Co-authored-by: Michael Pilquist <mpilquist@gmail.com>
    Hombre-x and mpilquist authored May 22, 2024
    Configuration menu
    Copy the full SHA
    784ed53 View commit details
    Browse the repository at this point in the history
  3. 📝 Updated guide.md

    Removed unused imports in various examples before `mdoc:reset`
    
    Co-authored-by: Michael Pilquist <mpilquist@gmail.com>
    Hombre-x and mpilquist committed May 22, 2024
    Configuration menu
    Copy the full SHA
    39fa5d3 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. 📝 Updated guide.md

    Changed the example as suggested.
    
    Now it does not parse the bytes, nor reads from the filesystem. Instead it downloads some files from The Project Gutenberg and creates an `InputStream` from each one of them.
    
    Co-authored-by: Michael Pilquist <mpilquist@gmail.com>
    Hombre-x and mpilquist committed May 23, 2024
    Configuration menu
    Copy the full SHA
    3c0af3b View commit details
    Browse the repository at this point in the history