Private
cancelledPrivate
checkDeflate compression level of the Salesforce deployment package (zip file)
Private
connectionPrivate
deployPrivate
deploymentPrivate
lastPrivate
lastInterval in milliseconds in which data is reported back on the progress
event
Private
Readonly
loggerPrivate
nextPrivate
pollPrivate
Readonly
salesforcePrivate
Readonly
sfGet package containing the metadata that is being deployed as part of this deployment;
Determine if the deployment has errprs
ID of the deployment; set after the deployment is queued on the server.
Returns true
if the deployment has been cancelled or is currently cancelling.
Determine if the deployment has completed, either successfully or with errors or warnings.
Returns false
if the deployment has not yet started.
Returns true
if the deployment is completed.
Determine if the deployment has completed successfully.
Returns true
if the deployment has been cancelled from the server side (Salesforce UI)
Get the deployment status data as it was last retrieved; only set after the deployment has started.
Get setup page URL with the deployment details
Determine if the deployment has completed successfully.
Private
checkPrivate
checkEmit an event and await the event completion
event type that is emptied
parameters matching the event type
Optional
options: EventEmitOptionsOptional
token: CancellationTokenPrivate
isRegister an event listener to trigger on an event.
Listener to register
Protected
onRegister an event listener to trigger once on event.
Listener to register
Private
processPrivate
processRemoves all listeners, or those of the specified event.
It is bad practice to remove listeners added elsewhere in the code, particularly when the EventEmitter instance was created by some other component or module (e.g. sockets or file streams).
Returns a reference to the EventEmitter, so that calls can be chained.
Optional
event: Kevent type to remove listeners for if not specified all listeners are removed
Removes the specified listener from the listener array for the event named event.
removeListener()
will remove, at most, one instance of a listener from the listener array.
If any single listener has been added multiple times to the listener array for the specified eventName,
then removeListener()
must be called multiple times to remove each instance.
event type to remove listener from
listener to remove
Deploy the specified SalesforcePackage into the target org
Optional
options: DeployOptionsOptions
An event emitter that has better support async methods giving the emitter the option to execute event handlers async in sequence instead of in parallel.
All handlers can be removed using
If async event handlers throw an error when
hideExceptions
is set tofalse
the emitter will receive the error.Example