fix Readme issue

This commit is contained in:
Philipp Kunz 2016-04-04 22:43:26 +02:00
parent 555c696a8e
commit 844812311e

View File

@ -46,6 +46,6 @@ Each function can return a promise. the pipe stop will finish when every promise
* the following options are available: * the following options are available:
* "forFirst" - executes when first chunk/vinylfile of the stream reaches the pipestop. * "forFirst" - executes when first chunk/vinylfile of the stream reaches the pipestop.
file is pushed further down the line when function's returned promise is fullfilled. file is pushed further down the line when function's returned promise is fullfilled.
* "atEnd" - executes like "forFirst" but with every chunk/vinylfile in the stream; * "forEach" - executes like "forFirst" but with every chunk/vinylfile in the stream;
* "atLast" - executes after all chunks have passed and are processed in full. * "atEnd" - executes after all chunks have passed and are processed in full.
That means the stream's "finish" event fires before "atLast" is executed!!! That means the stream's "finish" event fires **before "atLast" is executed**!!!