Skip to content

ScheduledItem class

Attributes: [DebuggerDisplay("{DebuggerDisplay,nq}")]

Defined in

Namespace: ReactiveUI.Primitives.Concurrency Assembly: ReactiveUI.Primitives.Core.dll Full name: ReactiveUI.Primitives.Concurrency.ScheduledItem<T> Modifiers: public sealed

Summary

View source

Provides the base implementation for a scheduled unit of work that is ordered by an absolute due time.

Applies to

net10.0, net10.0, net10.0-desktop1.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-browserwasm1.0, net9.0, net9.0, net9.0-desktop1.0, net9.0-desktop1.0, net9.0-browserwasm1.0, net9.0-browserwasm1.0, net8.0, net8.0, net8.0-ios17.5, net8.0-macos14.5, net8.0-macos14.5, net8.0-macos14.2, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-maccatalyst17.5, net8.0-tvos17.2, net8.0-tvos17.2, net8.0-ios17.5, netstandard2.1, netstandard2.1, net481, net462, net462, net481

Class hierarchy
classDiagram
class ScheduledItem~T~
class IScheduledItem~TAbsolute~ {
    <>
}
IScheduledItem~TAbsolute~ <|.. ScheduledItem~T~
class IComparable~ScheduledItem~TAbsolute~~ {
    <>
}
IComparable~ScheduledItem~TAbsolute~~ <|.. ScheduledItem~T~
class IsDisposed {
    <>
}
IsDisposed <|.. ScheduledItem~T~
class IDisposable {
    <>
}
IDisposable <|.. ScheduledItem~T~
class IComparable {
    <>
}
IComparable <|.. ScheduledItem~T~

Implements: IScheduledItem, IComparable>, IsDisposed, IDisposable, IComparable

Constructors

NameSummary
.ctorInitializes a new instance of the [ScheduledItem](# class with the due time, comparer, and invocation callback. The callback supplies the work...

Properties

NameSummary
DueTimeGets the absolute time at which this work item is scheduled to run.
IsDisposedGets a value indicating whether this work item has been canceled or disposed.

Methods

NameSummary
CancelCancels this scheduled work item.
CompareToCompares this scheduled item with another scheduled item by due time.
DisposeReleases the resources associated with this scheduled item and prevents future invocation.
EqualsDetermines whether the specified object is the same scheduled item instance.
GetHashCodeReturns a hash code based on this scheduled item's object identity.
InvokeRuns this scheduled work item if it has not been canceled.

Operators

NameSummary
static op_InequalityDetermines whether two scheduled item references are not the same object.
static op_LessThanDetermines whether the first scheduled item is due before the second scheduled item.
static op_LessThanOrEqualDetermines whether the first scheduled item is due before, or at the same time as, the second scheduled item.
static op_EqualityDetermines whether two scheduled item references are the same object.
static op_GreaterThanDetermines whether the first scheduled item is due after the second scheduled item.
static op_GreaterThanOrEqualDetermines whether the first scheduled item is due after, or at the same time as, the second scheduled item.
Inherited members