using TINK.Settings;
using System.Threading.Tasks;
namespace TINK.ViewModel
{
public interface IPollingUpdateTaskManager
{
///
/// Invoked when page is shown.
/// Actuates and awaits the first update process and starts a task wich actuate the subseqent update tasks.
///
Task StartUpdateAyncPeridically(PollingParameters p_oPolling = null);
///
/// Invoked when pages is closed/ hidden.
/// Stops update process.
///
Task StopUpdatePeridically();
}
}