import { Subscription } from 'most' ; export function unsubscribeSubscriptions ( subscriptions ) { subscriptions . forEach ( unsubscribe ) ; } function unsubscribe ( subscription ) { subscription . unsubscribe ( ) ; }