SchedulerCore class

Core class that manages event scheduling and triggering.

This class provides static methods to register, track, and manage events. It handles all the scheduling logic and ensures events are triggered according to their configuration.

The class maintains several internal maps to track:

  • Event configurations
  • Active timers
  • Last trigger times
  • Time update timers

Constructors

SchedulerCore()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getLastTriggerTime(String eventKey) Future<DateTime?>
Gets the last time an event was triggered.
register(SchedulerConfig config) → void
Registers a new event configuration.
reset(String eventKey) Future<void>
Resets an event's state.
track(String eventKey) Future<void>
Tracks an event occurrence.
unregister(String eventKey) → void
Unregisters an event and cleans up its resources.