fileEventEmitter

  • typedef
documentjs.process.types.FileEventEmitter

{Object}

 

A node event emitter that produces events that correlate to files that should be processed.

Object

Properties

  1. on {function(event, listener)}

    Registers an event listener. File event emitters should dispatch:

    • "match" events that call listener with the matched path.
    • "end" events that call listener when there are no more matches.
    • event
    • listener
  2. cwd {String}

    The root directory where "match" events are relative to.