update

abstract fun update(options: PipelineOptions, outcome: ExecutionOutcome)

Notifies the preview target that a new compilation outcome is available and that the preview should be refreshed accordingly. Implementations are expected to be invoked once per successful compile and may keep internal state.

Parameters

options

pipeline options used for the compilation that produced outcome

outcome

outcome of the compilation that just completed