UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

28 lines (27 loc) 1.15 kB
import { IRuntimeAction } from '../../IRuntimeAction'; import { ITimerRuntime } from '../../ITimerRuntime'; import { JitStatement } from '../../JitStatement'; import { RuntimeBlock } from './RuntimeBlock'; export declare class DoneRuntimeBlock extends RuntimeBlock { /** Unique identifier for this block */ constructor(sources?: JitStatement[]); /** * Implementation of the onEnter hook method from the template pattern */ protected onEnter(_runtime: ITimerRuntime): IRuntimeAction[]; /** * Implementation of the onLeave hook method from the template pattern */ protected onLeave(_runtime: ITimerRuntime): IRuntimeAction[]; /** * Implementation of the onNext hook method from the template pattern */ protected onNext(_runtime: ITimerRuntime): IRuntimeAction[]; /** * Implementation of the onBlockStart hook method from the template pattern */ protected onBlockStart(_runtime: ITimerRuntime): IRuntimeAction[]; /** * Implementation of the onBlockStop hook method from the template pattern */ protected onBlockStop(_runtime: ITimerRuntime): IRuntimeAction[]; }