cats.effect.ResourceApp$
See theResourceApp companion trait
object ResourceApp
Attributes
- Companion:
- trait
- Source:
- ResourceApp.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ResourceApp.type
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.
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.