Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5b0a1edaa4 | |||
855e9b48c8 | |||
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.3",
|
||||||
"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": {
|
||||||
@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/pushrocks/gulp-function",
|
"homepage": "https://github.com/pushrocks/gulp-function",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"beautylog": "^3.1.2",
|
"beautylog": "^3.1.4",
|
||||||
"q": "^1.4.1",
|
"q": "^1.4.1",
|
||||||
"through2": "^2.0.1"
|
"through2": "^2.0.1"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user