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.

Returns - Promise<void>

Defined in

Last Updated: 13 June, 2024