ResourceApp

cats.effect.ResourceApp$
See theResourceApp companion trait

Attributes

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

Members list

Concise view

Type members

Classlikes

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.

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
trait Simple extends ResourceApp

A ResourceApp which takes no process arguments and always produces ExitCode.Success except when an exception is raised.

A ResourceApp which takes no process arguments and always produces ExitCode.Success except when an exception is raised.

Attributes

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