码迷,mamicode.com
首页 >  
搜索关键字:observable    ( 380个结果
[RxJS] Reusable multicasting with Subject factories
The way we use publish() (or multicast with an RxJS Subject) makes the shared Observable not reusable if the shared execution happens to complete or e ...
分类:Web程序   时间:2016-10-26 20:03:47    阅读次数:236
[RxJS] Multicast with a selector argument, as a sandbox
Let's explore a different use of the multicast() operator in RxJS, where you can provide a selector function as a sandbox where the shared Observable ...
分类:数据库   时间:2016-10-26 19:38:45    阅读次数:251
[RxJS] Stopping a shared observable execution
ConnectableObservable has the connect() method to conveniently dictate the start of the shared execution of the source Observable. However, we need a ...
分类:Web程序   时间:2016-10-22 07:50:52    阅读次数:213
[RxJS] Connection operator: multicast and connect
We have seen how Subjects are useful for sharing an execution of an RxJS observable to multiple observers. However, this technique requires some labor ...
分类:Web程序   时间:2016-10-20 00:11:13    阅读次数:222
[RxJS] Subject: an Observable and Observer hybrid
This lesson teaches you how a Subject is simply a hybrid of Observable and Observer which can act as a bridge between the source Observable and multip ...
分类:Web程序   时间:2016-10-05 19:47:01    阅读次数:183
论文笔记之:Deep Recurrent Q-Learning for Partially Observable MDPs
Deep Recurrent Q-Learning for Partially Observable MDPs 摘要:DQN 的两个缺陷,分别是:limited memory 和 rely on being able to perceive the complete game screen at e ...
分类:其他好文   时间:2016-10-03 23:22:48    阅读次数:191
[Angular2 Router] Optional Route Query Parameters - The queryParams Directive and the Query Parameters Observable
In this tutorial we are going to learn how to use the Angular 2 router to pass optional query parameters from one route into another route. There are ...
分类:其他好文   时间:2016-09-28 22:29:13    阅读次数:191
KnockoutJS 3.X API 第二章 数据监控(1)视图模型与监控
数据监控 KO的三个内置核心功能: 监控(Observable)和依赖性跟踪(dependency tracking) 声明绑定(Declarative bindings) 模板(Templating) 在这个页面上,您将了解三种核心功能的第一种。但在此之前,让我们来看看MVVM模式的概念和视图模型... ...
分类:Windows程序   时间:2016-09-28 12:51:02    阅读次数:187
Angular2学习笔记——Observable
Reactive Extensions for Javascript 诞生于几年前,随着angular2正式版的发布,它将会被更多开发者所认知。RxJs提供的核心是Observable对象,它是一个使用可观察数据序列实现组合异步和事件编程。 跟这个很类似的异步编程模型是Promise,Promise ...
分类:其他好文   时间:2016-09-16 01:37:14    阅读次数:187
利用Java提供的Observer接口和Observable类实现观察者模式
对于观察者模式,其实Java已经为我们提供了已有的接口和类。对于订阅者(Subscribe,观察者)Java为我们提供了一个接口,JDK源码如下: 和我们上一篇实现的观察者一样,仅提供一个update方法用于接收通知者的通知做出相应改变。 我们再来看看Java为我们提供了一个怎样的通知者(Publi ...
分类:编程语言   时间:2016-09-15 01:00:15    阅读次数:236
380条   上一页 1 ... 18 19 20 21 22 ... 38 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!