Interface ModelSyncTarget.WriteCallback<T>

Enclosing interface:
ModelSyncTarget<T>

@JsFunction public static interface ModelSyncTarget.WriteCallback<T>
TypeScript callback contract for this property.
  • Method Summary

    Modifier and Type
    Method
    Description
    onInvoke(T snapshot, ModelChange change)
    Invokes the WriteCallback callback.
  • Method Details

    • onInvoke

      Object onInvoke(T snapshot, ModelChange change)
      Invokes the WriteCallback callback.
      Parameters:
      snapshot - Value supplied for the snapshot parameter.
      change - Value supplied for the change parameter.