@bitcobblers/wod-wiki-library
Version:
A specialized markdown-like workout syntax editor and runtime for defining workouts
20 lines (19 loc) • 679 B
TypeScript
import { ITimerRuntime } from '../../ITimerRuntime';
import { IRuntimeEvent } from '../../IRuntimeEvent';
import { IRuntimeBlock } from '../../IRuntimeBlock';
import { BubbleUpAction } from './base/BubbleUpAction';
/**
* Action that stops a timer and propagates up the block hierarchy
*/
export declare class StopTimerAction extends BubbleUpAction {
private event;
constructor(event: IRuntimeEvent);
name: string;
/**
* Apply the stop timer action to a specific block
*
* @param runtime The timer runtime
* @param block The block to apply the action to
*/
protected applyBlock(runtime: ITimerRuntime, block: IRuntimeBlock): void;
}