Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
99db113285 | |||
844812311e |
@ -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**!!!
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gulp-function",
|
"name": "gulp-function",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "accepts a function call as parameter to execute in gulp pipeline",
|
"description": "accepts a function call as parameter to execute in gulp pipeline",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user