retryPolicies property

List<TypeDefinition> get retryPolicies

The future call retry policy classes found in the last analysis that passed validation.

These have to be registered in the server protocol so that the policies can be saved with a future call and loaded again.

Implementation

List<TypeDefinition> get retryPolicies => [
  for (var cached in _retryPolicyCache.values.expand((e) => e))
    if (cached.isValid) cached.type,
];