Forever

cats.effect.ResourceApp$.Forever
trait Forever

A ResourceApp which runs until externally interrupted (with SIGINT), at which point all finalizers will be run and the application will shut down upon completion. This is an extremely common pattern in practical Cats Effect applications and is particularly applicable to network servers.

Attributes

See also:
Source:
ResourceApp.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

def run(args: List[String]): Resource[IO, Unit]

Attributes

See also:
Source:
ResourceApp.scala

Concrete methods

final def main(args: Array[String]): Unit

Attributes

Source:
ResourceApp.scala