instance method Spah.StateClient#reduceCurrentState
Spah.StateClient#reduceCurrentState(attachments, callback) → void
-
attachments
(Objects
) – An attachment object supplied to the reducer strategies -
callback
(Function
) – The callback for completion. Receives (target, attachments)
Clones the current client state and applies all registered “reduce” strategies to it.