Interface implemented by classes that wish to listen to publish events.
Methods
on Error(sSubject, sError Type)
Called when there is an error with the publish command.
Parameters:
Name | Type | Description |
---|---|---|
sSubject |
String | The subject of the record that there was an error publishing to. |
sErrorType |
module:ct-services |
The type of error. |
on Success(sSubject)
Called to signify that the publish was successful.
Parameters:
Name | Type | Description |
---|---|---|
sSubject |
String | The subject of the record that was successfuly published to. |