We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5d6ce commit ef8f582Copy full SHA for ef8f582
packages/plexus-core/src/collection/data.ts
@@ -338,6 +338,11 @@ export class CollectionData<
338
this.instance()._collectionData.delete(this)
339
return this
340
}
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
+ */
346
decay(time: number | false) {
347
this.instance().runtime.log(
348
'debug',
0 commit comments