findSchedulableMatch
Stentor API Reference / stentor-time/src / findSchedulableMatch
Function: findSchedulableMatch()
findSchedulableMatch\<
T>(schedules,baseNowInput):Scheduled\<T>
Defined in: packages/stentor-time/src/findSchedulableMatch.ts:39
Within a list of Schedulables, find a match for the provided time or current time if no time is provided.
Type Parametersβ
Tβ
T extends object
Parametersβ
schedulesβ
(T | Scheduled\<T>)[]
baseNowInputβ
DateTime = ...
Returnsβ
Scheduled\<T>