using System.Collections.Generic; using System.Threading.Tasks; namespace MQTTnet.Server { public interface IMqttServerStorage { Task SaveRetainedMessagesAsync(IList messages); Task> LoadRetainedMessagesAsync(); } }