Akka.Interfaced.SlimSocket.Client.UnityCommunicatorFactory.Create C# (CSharp) Method

Create() public static method

public static Create ( ) : Communicator
return Communicator
        public static Communicator Create()
        {
            ChannelEventDispatcher.TryInit();

            var communicator = new Communicator();
            communicator.ChannelFactory.TaskFactory = new UnitySlimTaskFactory { Owner = ChannelEventDispatcher.Instance };
            ((ObserverRegistry)communicator.ObserverRegistry).EventPoster = c => ChannelEventDispatcher.Post(c, null);

            return communicator;
        }
UnityCommunicatorFactory