asFinalizer method
Implementation
Conveyor<F, O> asFinalizer() =>
interpret((h, t) => produce(h, t.asFinalizer()),
(req, recv) => consume(req, (ea) => ea == left(Kill) ? asFinalizer() : recv(ea)),
halt);
Conveyor<F, O> asFinalizer() =>
interpret((h, t) => produce(h, t.asFinalizer()),
(req, recv) => consume(req, (ea) => ea == left(Kill) ? asFinalizer() : recv(ea)),
halt);