8586878889909192939495
// Wait for the subwriter to complete if (subWriter instanceof LatchedWriter) { ((LatchedWriter) subWriter).await(); } // Tell the replacement writer that we are done latchedWriter.done(); } catch (Throwable e) { latchedWriter.failed(e); } } });
9293949596979899100101102
@Override public void run() { try { Object call = callable.call(); execute(finalWriter, call == null ? null : oh.stringify(call)); latchedWriter.done(); } catch (Throwable e) { latchedWriter.failed(e); } } });