* Changes that happen inside of a transaction are bundled. This means that * the observer fires _after_ the transaction is finished and that all changes * that happened inside of the transaction are sent as one message to the * other peers. * * @template T * @param {function(Transa
(f, origin = null)
| 184 | * @public |
| 185 | */ |
| 186 | transact (f, origin = null) { |
| 187 | return transact(this, f, origin) |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Define a shared data type. |
no test coverage detected