Method

IdeRunCommandProviderinvalidates_at_phase

Declaration

void
ide_run_command_provider_invalidates_at_phase (
  IdeRunCommandProvider* self,
  IdePipelinePhase phase
)

Description

Invalidates the provider when phase is reached.

This is a helper for run command provider implementations to use which will automatically invalidate self when pipeline phase is reached.

Calling this function will unset any previous call to the function. Setting phase to 0 will not subscribe to any new phase.

Parameters

phase

Type: IdePipelinePhase

An IdePipelinePhase.