All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.ui.NussknackerApp.scala Maven / Gradle / Ivy

There is a newer version: 1.17.0
Show newest version
package pl.touk.nussknacker.ui

import cats.effect.{ExitCode, IO, IOApp}
import pl.touk.nussknacker.ui.factory.NussknackerAppFactory

object NussknackerApp extends IOApp {

  override def run(args: List[String]): IO[ExitCode] = {
    for {
      appFactory <- IO(new NussknackerAppFactory())
      _          <- appFactory.createApp().use { _ => IO.never }
    } yield ExitCode.Success
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy