Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Rx
Scheduler
Class Scheduler
Hierarchy
Scheduler
VirtualTimeScheduler
VirtualTimeScheduler
Index
Constructor methods
constructor
Properties
currentThread
immediate
timeout
Methods
catch
catchException
normalize
now
schedule
schedulePeriodic
schedulePeriodicWithState
scheduleRecursive
scheduleRecursiveWithAbsolute
scheduleRecursiveWithAbsoluteAndState
scheduleRecursiveWithRelative
scheduleRecursiveWithRelativeAndState
scheduleRecursiveWithState
scheduleWithAbsolute
scheduleWithAbsoluteAndState
scheduleWithRelative
scheduleWithRelativeAndState
scheduleWithState
Constructor methods
constructor
(
now
:
() => number
, schedule
:
(state: any, action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable) => Rx.IDisposable
, scheduleRelative
:
(state: any, dueTime: number, action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable) => Rx.IDisposable
, scheduleAbsolute
:
(state: any, dueTime: number, action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable) => Rx.IDisposable
)
:
Scheduler
Parameters
now:
() => number
schedule:
(state: any, action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable) => Rx.IDisposable
scheduleRelative:
(state: any, dueTime: number, action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable) => Rx.IDisposable
scheduleAbsolute:
(state: any, dueTime: number, action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable) => Rx.IDisposable
Returns
Scheduler
Properties
public
static
currentThread
:
ICurrentThreadScheduler
public
static
immediate
:
IScheduler
public
static
timeout
:
IScheduler
Methods
public
catch
(
handler
:
(exception: any) => boolean
)
:
IScheduler
Parameters
handler:
(exception: any) => boolean
Returns
IScheduler
public
catchException
(
handler
:
(exception: any) => boolean
)
:
IScheduler
Parameters
handler:
(exception: any) => boolean
Returns
IScheduler
public
static
normalize
(
timeSpan
:
number
)
:
number
Parameters
timeSpan:
number
Returns
number
public
now
(
)
:
number
Returns
number
public
schedule
(
action
:
() => void
)
:
IDisposable
Parameters
action:
() => void
Returns
IDisposable
public
schedulePeriodic
(
period
:
number
, action
:
() => void
)
:
IDisposable
Parameters
period:
number
action:
() => void
Returns
IDisposable
public
schedulePeriodicWithState
(
state
:
TState
, period
:
number
, action
:
(state: TState) => TState
)
:
IDisposable
Parameters
state:
TState
period:
number
action:
(state: TState) => TState
Returns
IDisposable
public
scheduleRecursive
(
action
:
(action: () => void) => void
)
:
IDisposable
Parameters
action:
(action: () => void) => void
Returns
IDisposable
public
scheduleRecursiveWithAbsolute
(
dueTime
:
number
, action
:
(action: (dueTime: number) => void) => void
)
:
IDisposable
Parameters
dueTime:
number
action:
(action: (dueTime: number) => void) => void
Returns
IDisposable
public
scheduleRecursiveWithAbsoluteAndState
(
state
:
TState
, dueTime
:
number
, action
:
(state: TState, action: (state: TState, dueTime: number) => void) => void
)
:
IDisposable
Parameters
state:
TState
dueTime:
number
action:
(state: TState, action: (state: TState, dueTime: number) => void) => void
Returns
IDisposable
public
scheduleRecursiveWithRelative
(
dueTime
:
number
, action
:
(action: (dueTime: number) => void) => void
)
:
IDisposable
Parameters
dueTime:
number
action:
(action: (dueTime: number) => void) => void
Returns
IDisposable
public
scheduleRecursiveWithRelativeAndState
(
state
:
TState
, dueTime
:
number
, action
:
(state: TState, action: (state: TState, dueTime: number) => void) => void
)
:
IDisposable
Parameters
state:
TState
dueTime:
number
action:
(state: TState, action: (state: TState, dueTime: number) => void) => void
Returns
IDisposable
public
scheduleRecursiveWithState
(
state
:
TState
, action
:
(state: TState, action: (state: TState) => void) => void
)
:
IDisposable
Parameters
state:
TState
action:
(state: TState, action: (state: TState) => void) => void
Returns
IDisposable
public
scheduleWithAbsolute
(
dueTime
:
number
, action
:
() => void
)
:
IDisposable
Parameters
dueTime:
number
action:
() => void
Returns
IDisposable
public
scheduleWithAbsoluteAndState
(
state
:
TState
, dueTime
:
number
, action
:
(scheduler: Rx.IScheduler, state: TState) => Rx.IDisposable
)
:
IDisposable
Parameters
state:
TState
dueTime:
number
action:
(scheduler: Rx.IScheduler, state: TState) => Rx.IDisposable
Returns
IDisposable
public
scheduleWithRelative
(
dueTime
:
number
, action
:
() => void
)
:
IDisposable
Parameters
dueTime:
number
action:
() => void
Returns
IDisposable
public
scheduleWithRelativeAndState
(
state
:
TState
, dueTime
:
number
, action
:
(scheduler: Rx.IScheduler, state: TState) => Rx.IDisposable
)
:
IDisposable
Parameters
state:
TState
dueTime:
number
action:
(scheduler: Rx.IScheduler, state: TState) => Rx.IDisposable
Returns
IDisposable
public
scheduleWithState
(
state
:
TState
, action
:
(scheduler: Rx.IScheduler, state: TState) => Rx.IDisposable
)
:
IDisposable
Parameters
state:
TState
action:
(scheduler: Rx.IScheduler, state: TState) => Rx.IDisposable
Returns
IDisposable
Globals
Rx
Rx.config
Rx.helpers
Rx.internals
rx
rx
rx
AsyncSubject
MockObserver
ReactiveTest
Subject
AsyncSubjectStatic
GroupedObservable
ICurrentThreadScheduler
IDisposable
IObservable
IObserver
IPromise
IScheduler
ISubject
MockObserverStatic
Observable
ObservableStatic
Observer
ObserverStatic
SubjectStatic
CompositeDisposable
Disposable
HistoricalScheduler
Notification
Recorded
RefCountDisposable
Scheduler
constructor
currentThread
immediate
timeout
catch
catchException
normalize
now
schedule
schedulePeriodic
schedulePeriodicWithState
scheduleRecursive
scheduleRecursiveWithAbsolute
scheduleRecursiveWithAbsoluteAndState
scheduleRecursiveWithRelative
scheduleRecursiveWithRelativeAndState
scheduleRecursiveWithState
scheduleWithAbsolute
scheduleWithAbsoluteAndState
scheduleWithRelative
scheduleWithRelativeAndState
scheduleWithState
SerialDisposable
SingleAssignmentDisposable
Subscription
TestScheduler
VirtualTimeScheduler