ClojureDocs

Nav

Namespaces

PrintWriter-on

clojure.core

Available since 1.10 (source)
  • (PrintWriter-on flush-fn close-fn)
implements java.io.PrintWriter given flush-fn, which will be called
when .flush() is called, with a string built up since the last call to .flush().
if not nil, close-fn will be called with no arguments when .close is called