import { Subject } from 'rxjs' ; export class BroadcastEventListener < T > extends Subject < T > { constructor ( public event ) { super ( ) ; if ( event == null || event === '' ) { throw new Error ( 'Failed to create BroadcastEventListener. Argument \'event\' can not be empty' ) ; } } }