Mix.Task.Compiler.after_compiler

You're seeing just the function after_compiler, go back to Mix.Task.Compiler module for more information.
Link to this function

after_compiler(name, fun)

View Source (since 1.10.0)

Specs

after_compiler(
  atom(),
  ({status(), [Mix.Task.Compiler.Diagnostic.t()]} ->
     {status(), [Mix.Task.Compiler.Diagnostic.t()]})
) :: :ok

Adds a callback that runs after a given compiler.

The callback is invoked after the compiler runs and it receives a tuple with current status and the list of diagnostic. It must return the updated status and diagnostics.