Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async createMainChannel() {
const shellSocket = new HokeySocket();
const iopubSocket = new HokeySocket();
const sockets = {
shell: shellSocket,
iopub: iopubSocket
};
const channels = await createMainChannelFromSockets(sockets, {
session: "spinning",
username: "dj"
});
return channels;
}
};