commit method

Commits all of the writes in this write batch as a single atomic unit.

@return A Promise resolved once all of the writes in the batch have been successfully written to the backend as an atomic unit.

Implementation

external JSPromise<JSArray<WriteResult>> commit();