Skip to content

Commit c6196bf

Browse files
committed
add keepLatest to the API docs
1 parent 4675c44 commit c6196bf

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

API.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ under the [Task Property API docs](TaskProperty.html).
2626
- [restartable](TaskProperty.html#restartable)
2727
- [enqueue](TaskProperty.html#enqueue)
2828
- [drop](TaskProperty.html#drop)
29+
- [keepLatest](TaskProperty.html#keepLatest)
2930
- [maxConcurrency](TaskProperty.html#maxConcurrency)
3031

3132

addon/-task-property.js

+9
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,15 @@ Object.assign(TaskProperty.prototype, propertyModifiers, {
393393
* @instance
394394
*/
395395

396+
/**
397+
* Configures the task to drop all but the most recently
398+
* performed {@linkcode TaskInstance }.
399+
*
400+
* @method keepLatest
401+
* @memberof TaskProperty
402+
* @instance
403+
*/
404+
396405
/**
397406
* Sets the maximum number of task instances that are allowed
398407
* to run at the same time. By default, with no task modifiers

0 commit comments

Comments
 (0)