import { Message } from '../spec/message' ; export class Client { send ( message ) { throw new Error ( 'Must implement send(message) on client' ) ; } onReply ( callback ) { throw new Error ( 'Must implement subscribeToREplies(callback) on client' ) ; } onReady ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } close ( ) { return ; } }