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 TaskApp, a safe App trait for both the JVM and Scala.js #176

Closed
alexandru opened this Issue Jun 21, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@alexandru
Copy link
Member

alexandru commented Jun 21, 2016

import monix.eval.TaskApp

object Main extends TaskApp {
  override def runc: Task[Unit] =
    Task { println("Hello, world!") }
}

@alexandru alexandru added this to the 2.0 milestone Jun 21, 2016

@alexandru alexandru self-assigned this Jun 21, 2016

@alexandru alexandru closed this in c909291 Jun 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.