put method

  1. @Deprecated('Use publish() instead')
TTLink put(
  1. dynamic value, [
  2. TTMsgCb? cb
])

Save data into the TT graph, syncing it with your connected peers.

You do not need to re-save the entire object every time, TT will automatically merge your data into what already exists as a "partial" update.

@param value the data to save @param cb an optional callback, invoked on each acknowledgment @returns same link context

Implementation

@Deprecated('Use publish() instead')
TTLink put(TTValue value, [TTMsgCb? cb]) {
  publish(value, onAck: cb);
  return this;
}