Home Manual Reference Source Test Repository

References

Class Summary

Static Public Class Summary
public

在调度器(Scheduler)中要执行的任务单元。action 通常是在调度器内部创建,并且 RxJS 用户 不需要关注它的创建和维护。

public

A normalized AJAX error.

public

A normalized AJAX response.

public
public
public

当查询 Observable 特定索引的元素时,在 Observable 序列中没有此索引或位置的话,则抛出此错误。

public
public
public
public

当查询 Observable 或者序列没有元素时,则抛出该错误。

public

该 Observable 表示因具有共同的键而属于同一个组的值 。由 GroupedObservable 发出的值 来自于源 Observable 。共同的键可作为 GroupedObservable 实例上的 key 字段。

public

代表可以被 Observable 发出的基于推送体系的事件或者值。对于像 materializedematerializeobserveOn 和其他管理通知的操作符来说,Notification 类尤其适用。 除了包装真正发出的值,它还使用元数据进行注解。例如,推送消息的类型是(nexterror, or complete)。

public

当 action 由于对象取消订阅导致非法时,则抛出该错误。

public

表示在任意时间内的任意一组值。 这是 RxJS 最基本的构建块。

public
public

用来安排任务并调度执行的执行上下文和数据结构。通过获取方法 now() 提供 虚拟时间的概念。

public
public
public

实现 Observer 接口并且继承 Subscription 类。 虽然 Observer 是消费 Observable 值的公有 API, 所有 Observers 都转化成了 Subscriber,以便提供类似 Subscription 的能力,比如 unsubscribe。 Subscriber 是 RxJS 的常见类型, 并且是实现操作符的关键, 但是很少作为公有 API 使用。

public

表示可清理的资源,比如 Observable 的执行。Subscription 有一个重要的方法,unsubscribe, 该方法不接受参数并且清理该 subscription 持有的资源。

public

当超时时抛出该错误。

public

Subscriptionunsubscribe 期间,发送一个或者多个错误,则抛出该错误。

Interface Summary

Static Public Interface Summary
public
public

ObservableInput 接口描述了所有值是一个 SubscribableOrPromise 或者 此类型的值可以转化为能发出值的 Observable 。 每个操作符都可以接收被该接口 annotate 过的参数,而不一定需要是 RxJS 的 Observables。

public

消费者接口,消费者接收由 Observable 推送的通知。

public

SubscribableOrPromise 接口描述行为像 Observables 或者 Promises 的值。每个操作符 接受被这个接口 annotate 过的参数,也可以使用不是 RxJS Observables 的参数。

public

这个接口描述了 Observable 构造函数和静态方法 create 接收的函数的返回对象。这个接口 的值可以用来取消对当前 Observable 的订阅。

Variable Summary

Static Public Variable Summary
public
this variable was deprecated. use iterator instead
public
this variable was deprecated. use observable instead
public
this variable was deprecated. use rxSubscriber instead
public

animationFrame: es6/scheduler/AnimationFrameScheduler.js~AnimationFrameScheduler

动画帧调度器

public

asap: es6/scheduler/AsapScheduler.js~AsapScheduler

Asap 调度器

public

async: es6/scheduler/AsyncScheduler.js~AsyncScheduler

Async 调度器

public

queue: es6/scheduler/QueueScheduler.js~QueueScheduler

队列调度器

Typedef Summary

Static Public Typedef Summary
public
public