Skip to content

Frequency

Josh Wright edited this page Jan 14, 2021 · 3 revisions

Frequency

Represents a frequency that occurs at a rate and may have specific requirements for when it should start running, such as "every day at 9:​30 am".

public protocol Frequency

Requirements

rate

The interval at which this Frequency is repeated.

var rate: TimeAmount

timeUntilNext()

An interval until the next time this frequency can begin.

func timeUntilNext() -> TimeAmount

Returns

A TimeAmount representing the interval between now and when this frequency's start time will next occur.

Alchemy
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Fusion
Types
Protocols
Papyrus
Types
Protocols
Clone this wiki locally