new ManualScheduler()
- Author:
-
- Source:
Members
_manualScheduleIds :Object.<string, ManualSchedule>
Type:
- Source:
_subscriptions :Object.<string, Subscription>
Type:
-
Object.<string, Subscription>
- Source:
Type:
- Source:
observable
- Source:
Methods
_getManualScheduleId(manualSchedule) → {string}
Parameters:
- Source:
Returns:
-
Type
-
string
_isManualSchedule(schedule) → {boolean}
Parameters:
- Source:
Throws:
-
if schedule is not of type ManualSchedule
-
-
Type
-
Error
Returns:
-
Type
-
boolean
addManualSchedule(manualSchedule) → {this}
Parameters:
- Source:
Returns:
-
Type
-
this
addSchedule(schedule) → {this}
Calls addManualSchedule() with the given Schedule.
Parameters:
- Source:
Returns:
-
Type
-
this
Directly obtains and returns a ManualSchedule's Observable. However, its items
are mapped to ManualScheduleEventSimple objects, to conform with the type of
this method.
Parameters:
- Source:
Returns:
An Observable
for the designated schedule.
-
Type
-
Observable.<(T|ScheduleEvent|ManualScheduleEventSimple)>
hasManualSchedule(manualSchedule) → {boolean}
Parameters:
- Source:
Returns:
-
Type
-
boolean
hasSchedule(schedule) → {boolean}
Calls hasManualSchedule() with the given Schedule.
Parameters:
- Source:
Returns:
-
Type
-
boolean
(generator) preliminaryEvents(afteropt, beforeopt) → {IterableIterator.<PreliminaryScheduleEvent.<ManualSchedule, any>>}
Parameters:
Name |
Type |
Attributes |
Description |
after |
Date
|
<optional>
|
Optional. Defaults to undefined. |
before |
Date
|
<optional>
|
Optional. Defaults to undefined. |
- Source:
Returns:
-
Type
-
IterableIterator.<PreliminaryScheduleEvent.<ManualSchedule, any>>
removeAllSchedules() → {Array.<ManualSchedule>}
Removes all ManualSchedules from this scheduler. This will lead to
un-scheduling all of the schedules.
- Source:
Returns:
-
Type
-
Array.<ManualSchedule>
removeManualSchedule(manualSchedule) → {this}
Parameters:
- Source:
Returns:
-
Type
-
this
removeSchedule(schedule) → {this}
Calls removeManualSchedule() with the given Schedule.
Parameters:
- Source:
Returns:
-
Type
-
this