ResourceApp

Companion:
class
Source:
ResourceApp.scala
class Object
trait Matchable
class Any

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.

See also:
Source:
ResourceApp.scala
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.

See also:
Source:
ResourceApp.scala