Function MQ_Continue

MailerQ has a non-blocking nature, and uses callbacks to pass control to a plugin. It is then up to the plugin to interact with the event loop, and pass control back to MailerQ when it is ready with its task. Passing back control can be done in three different ways:

The MQ_Continue() function can be used for the first of the above options to hand control back to MailerQ. If you call MQ_Continue(), MailerQ will call the next plugin in line, or continues with its original algorithm if no other plugins are available.

/**
 *  Finish plugin processing
 *
 *  @param  connection  the connection that may move on to the next plugin
 */
void MQ_Continue(MQ_Connection *connection);

See also MQ_Complete() and MQ_Retry() for the other ways of handing back control.