Skip to content

Commit

Permalink
[CI] Update Stats & Extensions Docs
Browse files Browse the repository at this point in the history
Signed-off-by: BirjuVachhani <[email protected]>
  • Loading branch information
BirjuVachhani committed Jun 30, 2023
1 parent 25b6dcf commit d760210
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions EXTENSIONS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Extensions
> *This file is auto generated. Do not edit this file manually.*
> *Last Updated: Fri, Jun 30, 2023 - 05:14 PM*
> *Last Updated: Fri, Jun 30, 2023 - 06:04 PM*

### on Comparable<dynamic>
Expand Down Expand Up @@ -175,7 +175,7 @@
| [`absoluteSeconds`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/duration/duration.dart#L81) | `GETTER` | Returns remaining minutes after deriving minutes. |


### on dynamic
### on Object
| Extension | Type | Description |
|---|---|---|
| [`apply`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/generic/generic.dart#L41) | `METHOD` | Calls the specified function `block` with `this` value as its argument and returns `this` value. |
Expand Down Expand Up @@ -332,9 +332,9 @@
| [`post`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/async/future.dart#L39) | Runs given `action` no sooner than in the next event-loop iteration, after all micro-tasks have run. |
| [`postDelayed`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/async/future.dart#L44) | Runs given `action` after a delay of `millis`, no sooner than in the next event-loop iteration, after all micro-tasks have run. |
| [`now`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/datetime/date_time.dart#L303) | shot for `DateTime.now` |
| [`run`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/generic/generic.dart#L83) | and returns `this` value. |
| [`TODO`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/generic/generic.dart#L90) | Always throws `UnimplementedError` stating that operation is not implemented. |
| [`runCaching`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/generic/generic.dart#L116) | Executes a provided action and handles potential errors. The function returns T? which represents the result of the executed action if the action is not asynchronous. If the action completes successfully, the result is returned as is. If an exception occurs during the execution, the `onError` function is called with the error and stack trace. If the `onError` function is not provided or returns null, the error is swallowed and the result is set to null. The function returns a `Future` of type T? which represents the result of the executed action if the action is asynchronous. If the action completes successfully, the result is returned as is. If an exception occurs during the execution, the `onError` function is called with the error and stack trace. If the `onError` function is not provided or returns null, the error is swallowed and the result is set to null. If the `onError` function is synchronous, the result is returned as is. If it throws an error, the error is swallowed and the result is set to null. If the `onError` function is asynchronous, a `Future` of type T? is returned. If the `onError` function completes successfully, the result is returned as is. If it throws an error, the error is swallowed and the result is set to null. |
| [`run`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/generic/generic.dart#L84) | and returns `this` value. |
| [`TODO`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/generic/generic.dart#L89) | Always throws `UnimplementedError` stating that operation is not implemented. |
| [`runCaching`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/generic/generic.dart#L115) | Executes a provided action and handles potential errors. The function returns T? which represents the result of the executed action if the action is not asynchronous. If the action completes successfully, the result is returned as is. If an exception occurs during the execution, the `onError` function is called with the error and stack trace. If the `onError` function is not provided or returns null, the error is swallowed and the result is set to null. The function returns a `Future` of type T? which represents the result of the executed action if the action is asynchronous. If the action completes successfully, the result is returned as is. If an exception occurs during the execution, the `onError` function is called with the error and stack trace. If the `onError` function is not provided or returns null, the error is swallowed and the result is set to null. If the `onError` function is synchronous, the result is returned as is. If it throws an error, the error is swallowed and the result is set to null. If the `onError` function is asynchronous, a `Future` of type T? is returned. If the `onError` function completes successfully, the result is returned as is. If it throws an error, the error is swallowed and the result is set to null. |
| [`randomBool`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/bool.dart#L47) | Generates a random boolean value. |
| [`randomDouble`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/double.dart#L60) | Generates a non-negative random floating point value uniformly distributed in the range from 0.0, inclusive, to 1.0, exclusive. |
| [`randomInt`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/int.dart#L146) | Generates a non-negative random integer uniformly distributed in the range rom 0, inclusive, to `max`, exclusive. default `max` is 1_000_000 |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Typedefs: 8
Mixins: 2
```
> *Last Updated: Fri, Jun 30, 2023 - 05:14 PM*
> *Last Updated: Fri, Jun 30, 2023 - 06:04 PM*
<!---stats_end-->
Expand Down

0 comments on commit d760210

Please sign in to comment.