semaphore 0.2.0
semaphore: ^0.2.0 copied to clipboard

Semaphore is lightweight data type that is used for controlling the cooperative access to a common resource inside the isolate.

8
likes
110 / 130
pub points
86 %
popularity

We analyzed this package on May 3, 2021, and awarded it 110 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

0/10 points: 20% or more of the public API has dartdoc comments

  • 4 out of 22 API elements (18.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

INFO: The operand can't be null, so the condition is always false.

lib/src/semaphore/semaphore.dart:37:18

   ╷
37 │     if (maxCount == null) {
   │                  ^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/semaphore/semaphore.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.16.0, Dart 2.12.4.

8
likes
110
pub points
86%
popularity

Semaphore is lightweight data type that is used for controlling the cooperative access to a common resource inside the isolate.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

andrew.mezoni@gmail.com

License

BSD (LICENSE)

More

Packages that depend on semaphore