repeat#

eclypse.policies.schedule.repeat(times, policy)[source]#

Run a policy for the first times calls.

Parameters:
  • times (int) – Number of calls that should trigger the wrapped policy.

  • policy (UpdatePolicy) – Wrapped policy to call.

Returns:

Stateful schedule policy.

Return type:

UpdatePolicy