advance Optionally emit the percentage of steps completed, and/or a heartbeat ('.
advance Optionally emit the percentage of steps completed, and/or a heartbeat ('.' character)
roughly every heartbeatSecs
seconds (though buffering may make the actual interval
imprecise.) If heartbeatSecs
is not greater than 0, no heartbeat is emitted.
advance is periodically called during compilation, indicating the total number of compilation
steps completed (current
) out of the total number of steps necessary. The method returns
false if the user wishes to cancel compilation, or true otherwise. Currently, Zinc never
requests to cancel compilation.
startUnit Optionally reports to stdout when a phase of compilation has begun for a file.
startUnit Optionally reports to stdout when a phase of compilation has begun for a file.
SimpleCompileProgress implements CompileProgress to add output to zinc scala compilations, but does not implement the capability to cancel compilations via the
advance
method.