resource<F, R, O> static method
Implementation
static Conveyor<F, O> resource<F, R, O>(F acquire, Conveyor<F, O> use(R r), Conveyor<F, O> release(R r)) =>
eval<F, R>(acquire).bind((r) => use(r).onComplete(() => release(r)));