freerware / work

A compact library for tracking and committing changes to your entities.
Apache License 2.0
59 stars 2 forks source link

Rename 'RetryType' to 'UnitRetryType'. #42

Closed fr33r closed 3 years ago

fr33r commented 3 years ago

Description

Renames work.RetryType to work.UnitRetryDelayType. Aliases work.UnitRetryDelayType as unit.RetryDelayType

Rationale

Suggested Version

v4.0.0-beta

Example Usage

delayType := unit.RetryDelayTypeFixed
opts := []unit.Option{
  // ...
  unit.RetryType(delayType)
  // ...
}
u, err := unit.New(opts...)