complete method

  1. @override
Future complete(
  1. MessageEnvelope message
)

Permanently removes a message from the queue. This method is usually used to remove the message after successful processing.

Important: This method is not supported by MQTT.

  • message a message to remove. Returns (optional) Future that receives an null for success. Throws error

Implementation

@override
Future complete(MessageEnvelope message) async {
  // Not supported
  return null;
}