using System;
using System.Collections.Generic;
using QuantConnect.Data;
namespace QuantConnect.Lean.Engine.DataFeeds
{
///
/// Represents a type responsible for accepting an input
/// and returning an enumerable of the source's
///
public interface ISubscriptionDataSourceReader
{
///
/// Event fired when the specified source is considered invalid, this may
/// be from a missing file or failure to download a remote source
///
event EventHandler InvalidSource;
///
/// Reads the specified
///
/// The source to be read
/// An that contains the data in the source
IEnumerable Read(SubscriptionDataSource source);
}
}