PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
rxjs
/
internal
import { Action } from './scheduler/Action'; import { Subscription } from './Subscription'; import { SchedulerLike, SchedulerAction } from './types'; /** * An execution context and a data structure to order tasks and schedule their * execution. Provides a notion of (potentially virtual) time, through the * `now()` getter method. * * Each unit of work in a Scheduler is called an `Action`. * * ```ts * class Scheduler { * now(): number; * schedule(work, delay?, state?): Subscription; * } * ``` * * @class Scheduler * @deprecated Scheduler is an internal implementation detail of RxJS, and * should not be used directly. Rather, create your own class and implement * {@link SchedulerLike} */ export declare class Scheduler implements SchedulerLike { private SchedulerAction; /** * Note: the extra arrow function wrapper is to make testing by overriding * Date.now easier. * @nocollapse */ static now: () => number; constructor(SchedulerAction: typeof Action, now?: () => number); /** * A getter method that returns a number representing the current time * (at the time this function was called) according to the scheduler's own * internal clock. * @return {number} A number that represents the current time. May or may not * have a relation to wall-clock time. May or may not refer to a time unit * (e.g. milliseconds). */ now: () => number; /** * Schedules a function, `work`, for execution. May happen at some point in * the future, according to the `delay` parameter, if specified. May be passed * some context object, `state`, which will be passed to the `work` function. * * The given arguments will be processed an stored as an Action object in a * queue of actions. * * @param {function(state: ?T): ?Subscription} work A function representing a * task, or some unit of work to be executed by the Scheduler. * @param {number} [delay] Time to wait before executing the work, where the * time unit is implicit and defined by the Scheduler itself. * @param {T} [state] Some contextual data that the `work` function uses when * called by the Scheduler. * @return {Subscription} A subscription in order to be able to unsubscribe * the scheduled work. */ schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay?: number, state?: T): Subscription; }
[-] Observable.js.map
[edit]
[-] Rx.js.map
[edit]
[+]
scheduled
[-] Notification.js
[edit]
[-] SubjectSubscription.js.map
[edit]
[-] Subscription.d.ts
[edit]
[-] InnerSubscriber.js
[edit]
[+]
..
[+]
testing
[-] ReplaySubject.js.map
[edit]
[-] Subscription.js
[edit]
[-] Observer.js.map
[edit]
[-] Rx.d.ts
[edit]
[-] Operator.js.map
[edit]
[-] BehaviorSubject.d.ts
[edit]
[-] OuterSubscriber.js.map
[edit]
[-] ReplaySubject.d.ts
[edit]
[-] config.d.ts
[edit]
[-] OuterSubscriber.d.ts
[edit]
[-] SubjectSubscription.js
[edit]
[-] Subject.js.map
[edit]
[-] Scheduler.js
[edit]
[+]
observable
[-] Operator.js
[edit]
[-] Subject.d.ts
[edit]
[-] types.js.map
[edit]
[-] Observer.js
[edit]
[+]
scheduler
[+]
symbol
[-] Subscriber.js
[edit]
[-] AsyncSubject.js.map
[edit]
[-] AsyncSubject.js
[edit]
[-] Rx.js
[edit]
[-] Scheduler.js.map
[edit]
[-] Observable.d.ts
[edit]
[-] Subscriber.js.map
[edit]
[-] BehaviorSubject.js.map
[edit]
[-] types.js
[edit]
[-] Operator.d.ts
[edit]
[-] Subject.js
[edit]
[-] config.js.map
[edit]
[+]
util
[-] Scheduler.d.ts
[edit]
[-] Subscriber.d.ts
[edit]
[-] config.js
[edit]
[-] types.d.ts
[edit]
[-] OuterSubscriber.js
[edit]
[-] Subscription.js.map
[edit]
[-] InnerSubscriber.d.ts
[edit]
[-] AsyncSubject.d.ts
[edit]
[-] ReplaySubject.js
[edit]
[-] Observable.js
[edit]
[-] Observer.d.ts
[edit]
[-] Notification.js.map
[edit]
[-] SubjectSubscription.d.ts
[edit]
[-] BehaviorSubject.js
[edit]
[+]
operators
[-] Notification.d.ts
[edit]
[-] InnerSubscriber.js.map
[edit]