From 3f3f9c68f1796e5d3890d36bbdc5b2132b86c137 Mon Sep 17 00:00:00 2001 From: LosslessBot Date: Wed, 4 May 2016 05:13:36 +0200 Subject: [PATCH] small update on promise return in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a1e8b39..0954c97 100644 --- a/README.md +++ b/README.md @@ -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.