Example #1
0
File: IO.cs Project: sq/Libraries
        public Future <string> ReadToEnd()
        {
            if (EndOfStream)
            {
                return(new Future <string>(null));
            }

            var thunk = new ReadToEndThunk {
                Parent = this,
            };

            return(thunk.Run());
        }
Example #2
0
File: IO.cs Project: sq/Fracture
        public Future<string> ReadToEnd()
        {
            if (EndOfStream) {
                return new Future<string>(null);
            }

            var thunk = new ReadToEndThunk {
                Parent = this,
            };

            return thunk.Run();
        }