small update on promise return in README

This commit is contained in:
LosslessBot 2016-05-04 05:13:36 +02:00
parent 48c20c081f
commit 3f3f9c68f1

View File

@ -22,7 +22,8 @@ npm install taskbuffer --save
meaning execution of the task's main function is on halt until the previous task call has finished.
You can set bufferMax number, which is the max number of buffered task calls.
Any additional calls will then be truncated
* Task.trigger() and Task.triggerBuffered() always return a Promise;
* Task.trigger() and Task.triggerBuffered() always return a Promise
which is fullfilled once the related task call has completed.
* Task.triggered() is an ObservableStram that emits events every time a task is promised.
* Task is compatible to gulp streams.