This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Readable} from 'stream'; | |
class ReadableStream extends Readable { | |
constructor() { | |
super({objectMode: true}); | |
} | |
_read() { | |
this.emit('error', 'Error'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {App, Duration} from '@aws-cdk/core'; | |
import { | |
ApplicationListener, | |
ApplicationListenerRule, | |
ApplicationLoadBalancer, | |
ApplicationProtocol, | |
ApplicationTargetGroup, | |
InstanceTarget | |
} from "@aws-cdk/aws-elasticloadbalancingv2"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
editor.getSession().addMarker(new Range(0,0,0,10),"ace_active_line","background"); | |
======== | |
Uncaught TypeError: Object function (deps, callback, relModuleMap) { | |
var moduleName, fullName, moduleMap; | |
if (typeof deps === "string") { | |
if (isFunction(callback)) { | |
//Invalid call |