﻿using System;

namespace Glimpse
{
    public interface IMessageBus
    {
        IObservable<T> Listen<T>();

        IObservable<T> ListenIncludeLatest<T>();

        void SendMessage(object message);
    }
}
﻿using System;

namespace Glimpse
{
    public interface IMessageBus
    {
        IObservable<T> Listen<T>()
            where T : IMessage;

        IObservable<T> ListenIncludeLatest<T>()
            where T : IMessage;

        void SendMessage(IMessage message);
    }
}
Update types on Message Bus definition
Update types on Message Bus definition
