using System; using System.Threading.Tasks; namespace MediaBrowser.Controller.Session; /// /// The single-instance : there is no other instance to reach. /// public sealed class NullPodMessageBus : IPodMessageBus { /// /// Gets the shared instance. /// public static NullPodMessageBus Instance { get; } = new NullPodMessageBus(); /// public string PodId => PodIdentity.Current; /// public void Publish(string targetPod, PodMessage message) { } /// public void Subscribe(Func handler) { } }