monaco-editor
Version:
A browser based code editor
13 lines (10 loc) • 337 B
JavaScript
import { createDecorator } from '../../instantiation/common/instantiation.js';
const IDataChannelService = createDecorator('dataChannelService');
class NullDataChannelService {
getDataChannel(_channelId) {
return {
sendData: () => { },
};
}
}
export { IDataChannelService, NullDataChannelService };