예제 #1
0
        public PromisedQuery <T> PromiseTestQuery <T>(Type channel)
        {
            var cmd = new QueryRecord(channel, true);

            Command(cmd);
            return(new PromisedQuery <T>(cmd));
        }
        public PromisedQuery <T> PromiseQuery <T>(Type channel)
        {
            var cmd = new QueryRecord(channel, false)
            {
                _lightMode = LightMode
            };

            Command(cmd);
            return(new PromisedQuery <T>(cmd));
        }