Class ScheduledItem

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(scheduler: IScheduler, state: any, action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable, dueTime: TTime in Rx.internals.ScheduledItem<TTime>, comparer?: (x: TTime, y: TTime) => number): ScheduledItem

Parameters

  • scheduler: IScheduler
  • state: any
  • action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable
  • dueTime: TTime in Rx.internals.ScheduledItem<TTime>
  • comparer?: (x: TTime, y: TTime) => number optional

Returns

ScheduledItem

Properties

public action: (scheduler: Rx.IScheduler, state: any) => Rx.IDisposable

public comparer: (x: TTime, y: TTime) => number

public disposable: SingleAssignmentDisposable

public dueTime: TTime in Rx.internals.ScheduledItem<TTime>

public scheduler: IScheduler

public state: TTime in Rx.internals.ScheduledItem<TTime>

Methods

public compareTo(other: ScheduledItem): number

Parameters

Returns

number

public invoke()

public invokeCore(): IDisposable

Returns

IDisposable

public isCancelled(): boolean

Returns

boolean