cps.monads.zio
Type members
Classlikes
CpsMonad which encapsulate effects with automatic resource management.
CpsMonad which encapsulate effects with automatic resource management.
Example of usage:
asyncRManaged[R] {
val input = FileChannel.open(inputPath)
val output = FileChannel.open(outputPath)
input.transformTo(0,Long.MaxValue,output)
}
Value members
Concrete methods
Givens
Givens
Extensions
Extensions
using ZManaged resource and close r
after f will be finished.
Shpuld be used inside async block, 'f' can contains awaits.
using ZManaged resource and close r
after f will be finished.
Shpuld be used inside async block, 'f' can contains awaits.
using ZManaged resource and close r
after f will be finished.
Shpuld be used inside async block, 'f' can contains awaits.
using ZManaged resource and close r
after f will be finished.
Shpuld be used inside async block, 'f' can contains awaits.
using ZManaged resource and close r
after f will be finished.
Shpuld be used inside async block, 'f' can contains awaits.
using ZManaged resource and close r
after f will be finished.
Shpuld be used inside async block, 'f' can contains awaits.