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

Make infinite compilation cancellable #2019

Open
rochala opened this issue Mar 14, 2023 · 0 comments
Open

Make infinite compilation cancellable #2019

rochala opened this issue Mar 14, 2023 · 0 comments

Comments

@rochala
Copy link

rochala commented Mar 14, 2023

Infinite compilations are not cancelled at all. To my understanding, the cancellation happens on the next file and doesn't interrupt current source compilation.

example code with inifite compilation:
Warning: it eats a lot of CPU and RAM so make sure to kill it afterwards.

//> using scala "3.2.2"
//> using lib "co.fs2::fs2-io:3.6.1"

import cats.effect.*
import fs2.*

object Main extends IOApp.Simple:
  def run: IO[Unit] = Stream.duration
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

No branches or pull requests

1 participant