import { ITimelineModel } from '../core/types' ; import { update } from './update' ; import { IReducer , IReducerContext } from '../core/types' ; import { _ } from '../utils/constants' ; export const updateRate = ( model , rate , ctx ) => { model . rate = rate || 1 ; update ( model , _ , ctx ) ; } ;