import { ipcRenderer } from 'electron' ; import { DocInfoAdvertisement } from './DocInfoAdvertisement' ; /**
 * Sends {DocInfoAdvertisement}s out when we need to advertise a new one.
 */ export class DocInfoAdvertiser { public static send ( docInfoAdvertisement ) { ipcRenderer . send ( 'doc-info-advertisement:broadcast' , docInfoAdvertisement ) ; } }