LineEmitter takes callback