Skip to content

Instantly share code, notes, and snippets.

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.
}
}