mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 11:42:04 +00:00
12 lines
241 B
JavaScript
12 lines
241 B
JavaScript
|
|
import Promise from 'bluebird';
|
||
|
|
|
||
|
|
export default class NullClusterClient {
|
||
|
|
constructor(ioConfig) {
|
||
|
|
this.ioConfig = ioConfig;
|
||
|
|
}
|
||
|
|
|
||
|
|
getSocketURL(channel) {
|
||
|
|
return Promise.resolve(this.ioConfig.getSocketURL());
|
||
|
|
}
|
||
|
|
}
|