MonixServerApp

trait MonixServerApp extends TaskApp

Extend this trait if you want to implement server application using monix.eval.Task effect data type.

Implement method program with initialization and business logic of your application. It will be automatically run until JVM is shut down in which case all the resources are cleaned up because the whole program is a cats.effect.Resource.

trait TaskApp
class Object
trait Matchable
class Any

Value members

Abstract methods

Concrete methods

override def run(args: List[String]): Task[ExitCode]
Definition Classes

Inherited methods

final def main(args: Array[String]): Unit
Inherited from:
TaskApp
protected def options: Options

Options for executing the Task action. The default value is defined in defaultOptions, but can be overridden.

Options for executing the Task action. The default value is defined in defaultOptions, but can be overridden.

Inherited from:
TaskApp
protected def scheduler: Scheduler

Scheduler for executing the Task action. Defaults to global, but can be overridden.

Scheduler for executing the Task action. Defaults to global, but can be overridden.

Inherited from:
TaskApp

Implicits

Inherited implicits

implicit lazy protected val catsEffect: ConcurrentEffect[Task]

Provides the cats.effect.ConcurrentEffect instance of this runtime environment.

Provides the cats.effect.ConcurrentEffect instance of this runtime environment.

Inherited from:
TaskApp