Юниверс DG SDK UI
v2.15.0

Функция transaction

  • During a transaction no views are updated until the end of the transaction. The transaction will be run synchronously nonetheless.

    Параметры типа

    • T

    Параметры

    • action: () => T

      a function that updates some reactive state

    • OptionalthisArg: undefined

    Возвращает T

    any value that was returned by the 'action' parameter.