You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
324 B

  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. namespace MQTTnet.Extensions.ManagedClient
  4. {
  5. public interface IManagedMqttClientStorage
  6. {
  7. Task SaveQueuedMessagesAsync(IList<MqttApplicationMessage> messages);
  8. Task<IList<MqttApplicationMessage>> LoadQueuedMessagesAsync();
  9. }
  10. }