namespace Caliburn.Micro.Core {
using System.Threading.Tasks;
///
/// Denotes a class which can handle a particular type of message and uses a Task to do so.
///
public interface IHandleWithTask : IHandle { //don't use contravariance here
///
/// Handle the message with a Task.
///
/// The message.
/// The Task that represents the operation.
Task Handle(TMessage message);
}
}