Skip to content

Instantly share code, notes, and snippets.

View gist:9039926
class SomeParser {
parse(line) {
// Do some parsing work.
}
dataReady() {
// Easy way for others to figure out if the parser has data that's ready to be collected.
}
}