ResourceIO
Value members
Inherited methods
Returns a operation that requires this resource.
Returns a operation that requires this resource.
- Inherited from:
- IOOps
Store an unsafe resource operation in a ResourceIO.
Store an unsafe resource operation in a ResourceIO.
- Inherited from:
- ResourceIOOps
Applies an operation to each element of a Iterator[A]
and discards the result.
Applies an operation to each element of a Iterator[A]
and discards the result.
- Inherited from:
- IOOps
Applies an operation to each element of a Iterable[A]
and discards the result.
Applies an operation to each element of a Iterable[A]
and discards the result.
- Inherited from:
- IOOps
Converts an Iterable[RIO[R, A]]
into a RIO[R, List[A]]
.
Converts an Iterable[RIO[R, A]]
into a RIO[R, List[A]]
.
- Inherited from:
- IOOps
Converts an Iterable[RIO[R, A]]
into a RIO[R, Unit]
.
Converts an Iterable[RIO[R, A]]
into a RIO[R, Unit]
.
- Inherited from:
- IOOps
Converts an Iterable[A]
into a RIO[R, List[B]]
by applying an operation to each element.
Converts an Iterable[A]
into a RIO[R, List[B]]
by applying an operation to each element.
- Inherited from:
- IOOps
Runs a computation only if the predicate is true, otherwise does nothing
Runs a computation only if the predicate is true, otherwise does nothing
- Inherited from:
- IOOps
Loads the resource synchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
Loads the resource synchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
- Inherited from:
- ResourceIOOps
Loads the resource asynchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
Loads the resource asynchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
- Inherited from:
- ResourceIOOps
Loads the resource synchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStream instead.
Loads the resource synchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStream instead.
- Inherited from:
- ResourceIOOps
Loads the resource asynchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStreamAsync instead.
Loads the resource asynchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStreamAsync instead.
- Inherited from:
- ResourceIOOps