UNPKG

@syntest/core

Version:

The common core of the SynTest Framework

33 lines 982 B
import { TerminationTrigger } from "./TerminationTrigger"; /** * Manager for the termination triggers of the search process. * * Keeps track if any of the termination triggers have been triggered. * * @author Mitchell Olsthoorn */ export declare class TerminationManager implements TerminationTrigger { /** * List of currently active termination triggers. * @protected */ protected _terminationTriggers: TerminationTrigger[]; constructor(); /** * @inheritDoc */ isTriggered(): boolean; /** * Add trigger to the list of active termination triggers. * * @param trigger The trigger to add */ addTrigger(trigger: TerminationTrigger): TerminationManager; /** * Remove trigger from the list of active termination triggers. * * @param trigger The trigger to remove */ removeTrigger(trigger: TerminationTrigger): TerminationManager; } //# sourceMappingURL=TerminationManager.d.ts.map