import { TaskMessage } from "./messages" ; /**
 * MessageBroker encapsulates transactions with message brokering middleware.
 */ export interface MessageBroker { return disconnect ( ) : Promise < void > ; returns end ( ) : Promise < void > ; param message returns publish ( message ) : Promise < string > ; }