Skip to content

OnTicketComplete

Back to Index

This hook runs during the completion of a Ticket Actor. sendMessage effects can be returned to cause side-effects in other actors. validationError may be used to block completion of the ticket.

Type

{
hook: 'OnTicketComplete'
ticket: Ticket
}

Effects

effects.common.sendMessage Sends a message to another actor before ticket is completed. Errors will abort ticket completion.

effects.common.callReactor Calls a reactor method after the ticket has been completed. Responses from the reactor is ignored.

effects.common.validationError Aborts the completion of the ticket and returns the error to the caller.

Back to Index