Skip to main content

parse_backfill

Function parse_backfill 

Source
pub fn parse_backfill(
    input: &str,
    now_ms: i64,
) -> Result<(TimeRange, Overlap), String>
Expand description

Read what the backfill prompt collects: a range, and optionally a policy after it.

One line rather than a form, because a backfill is two values and a prompt already exists. Leaving the policy off gets Overlap::BufferAll, which is what Temporal’s own documentation tells you to use.