PutDecrementSettings: DecrementSettings & { initialValue?: number }

IMPORT_PATH: "@daiso-tech/core/execution-context/contracts"

Configuration for putting (creating or overwriting) and decrementing a numeric context value. Extends DecrementSettings to allow specifying an initial value if the key doesn't exist.

Type declaration

  • OptionalinitialValue?: number

    The initial value to use if the key doesn't exist yet, before decrementing.

    0