pushChanges Method

Beta

Push changes to iModelHub. Locks are released and codes are marked as used as part of a successful push.

pushChanges(requestContext: AuthorizedClientRequestContext, describer?: ChangeSetDescriber): Promise<void>

throws IModelError If there are unsaved changes or the pull and merge fails.

note This function is a no-op if there are no changes to push.

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context.
describer ChangeSetDescriber A function that returns a description of the changeset. Defaults to the combination of the descriptions of all local Txns.

Defined in

Last Updated: 08 January, 2020