fromExecutor

fun Resource.Companion.fromExecutor(f: suspend () -> ExecutorService): Resource<CoroutineContext>