Home > @uniformdev/context > createLinearDecay

createLinearDecay() function

Creates a function that applies linear decay to scores over time.

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

options

</td><td>

LinearDecayOptions

</td><td>

(Optional)

</td></tr> </tbody></table> Returns:

DecayFunction