Skip to content

Commit ef8f582

Browse files
committed
jsdoc
1 parent 4e5d6ce commit ef8f582

File tree

1 file changed

+5
-0
lines changed
  • packages/plexus-core/src/collection

1 file changed

+5
-0
lines changed

packages/plexus-core/src/collection/data.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,11 @@ export class CollectionData<
338338
this.instance()._collectionData.delete(this)
339339
return this
340340
}
341+
/**
342+
* Decay this data instance after a certain amount of time
343+
* @param {boolean|string}time The time to decay in ms
344+
* @returns {this} The data instance
345+
*/
341346
decay(time: number | false) {
342347
this.instance().runtime.log(
343348
'debug',

0 commit comments

Comments
 (0)