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.
- See also:
- Source:
- ResourceApp.scala
Value members
Abstract methods
Identical to ResourceApp.run except that it delegates to cats.effect.kernel.Resource!.useForever instead of cats.effect.kernel.Resource!.use.
Identical to ResourceApp.run except that it delegates to cats.effect.kernel.Resource!.useForever instead of cats.effect.kernel.Resource!.use.
- See also:
- Source:
- ResourceApp.scala