fromAutoCloseable

fun <A : AutoCloseable> Resource.Companion.fromAutoCloseable(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.autoCloseable
autoCloseable { f() }