fromCloseable

fun <A : Closeable> Resource.Companion.fromCloseable(f: suspend () -> A): Resource<A>

Deprecated

This API is being renamed in 2.x.x, use closeable builder instead

Replace with

import import arrow.fx.coroutines.closeable
closeable { f() }