Пример #1
0
            public IReactive <T> Get()
            {
                Task <T> process = Context.InChild(RWScope.Read,
                                                   async context =>
                {
                    await context.UntilAvailable(RWScope.Read);
                    return(state[0]);
                });

                return(Reactive.Create(process, TaskFuture.Create(process)));
            }