import { ITimelineModel } from '../core/types' ; import { cancel } from './cancel' ; import { IReducer , IReducerContext } from '../core/types' ; import { _ } from '../utils/constants' ; export const destroy = ( model , _data , ctx ) => { cancel ( model , _ , ctx ) ; ctx . destroyed = true ; } ;