Initial sioconfig migration work
This commit is contained in:
parent
dacda65961
commit
40e2a608f6
8 changed files with 111 additions and 18 deletions
11
src/io/cluster/nullclusterclient.js
Normal file
11
src/io/cluster/nullclusterclient.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import Promise from 'bluebird';
|
||||
|
||||
export default class NullClusterClient {
|
||||
constructor(ioConfig) {
|
||||
this.ioConfig = ioConfig;
|
||||
}
|
||||
|
||||
getSocketURL(channel) {
|
||||
return Promise.resolve(this.ioConfig.getSocketURL());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue