Skip to content

Commit

Permalink
docs: Remove old init method from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aaarkid committed Aug 25, 2022
1 parent 50a6176 commit 309ffe3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ use eta::{ETA, TimeAcc};

Usage is revolved around the `Eta` Object which implements a number of functions.

Initialize Eta in two ways:
* with `new(TasksCount, TimeAccuracy)` function where `TasksCount` is the number of tasks you want to track and `TimeAccuracy` is the accuracy of the time measurement.
* with `in_progress(TasksCount, TasksDone, TimeAccuracy)` function where `TasksDone` is the number of tasks that have completed.
Initialize Eta with `new(TasksCount, TimeAccuracy)` function where `TasksCount` is the number of tasks you want to track and `TimeAccuracy` is the accuracy of the time measurement.

`TimeAccuracy` can be one of the following:
* `TimeAcc::SEC`
Expand Down

0 comments on commit 309ffe3

Please sign in to comment.