Skip to contents

Adds an analysis trigger at a specified calendar time.

Usage

trigger_by_calendar(cal_time, timer, analysis = NULL)

Arguments

cal_time

numeric Calendar time(s) to trigger.

timer

Timer instance to update.

analysis

function or NULL Optional function to apply.

Value

Invisible Timer.

Examples

t <- Timer$new("timer")
trigger_by_calendar(2, t, analysis = function(df, current_time) nrow(df))