worker_service 0.7.3 copy "worker_service: ^0.7.3" to clipboard
worker_service: ^0.7.3 copied to clipboard

A flutter package that works for native/web, and allows the creation of workers that offload work into a potentially parallel space

4
likes
100/ 140
pub points
29%
popularity

We analyzed this package 4 days ago, and awarded it 100 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting worker_service... Discovering libraries... Linking elements... Precaching local docs for 157620 elements... Initialized dartdoc with 195 libraries Generating docs for library ports.dart from package:worker_service/ports.dart... Generating docs for library worker_service.dart from package:worker_service/worker_service.dart... Generating docs for library globals.dart from package:worker_service/globals.dart... Generating docs for library ports/ports.dart from package:worker_service/ports/ports.dart... Generating docs for library ports/platform/work_proxy_native.dart from package:worker_service/ports/platform/work_proxy_native.dart... [25 more lines] ERR: warning: worker_service has no library level documentation comments from worker_service: (file:///tmp/pana_ITIEHB/lib/worker_service.dart:1:9) warning: unresolved doc reference [WorkIsolate.Isolate] from ports.WorkIsolate: (file:///tmp/pana_ITIEHB/lib/ports/ports.dart:74:16) warning: unresolved doc reference [spawn] from ports.WorkIsolate.debugName: (file:///tmp/pana_ITIEHB/lib/ports/ports.dart:123:15) warning: unresolved doc reference [spawnUri] from ports.WorkIsolate.debugName: (file:///tmp/pana_ITIEHB/lib/ports/ports.dart:123:15) warning: unresolved doc reference [WorkIsolate.spawn] from ports.SendPort2.send: (file:///tmp/pana_ITIEHB/lib/ports/ports.dart:391:8) [48 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:worker_service/worker_service.dart that imports:
  • package:worker_service/worker_service_web/worker_service_web.dart that imports:
  • package:worker_service/common.dart that imports:
  • package:isolates/isolates.dart that imports:
  • package:isolates/registry.dart that imports:
  • package:isolates/ports.dart that imports:
  • dart:isolate
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: This 'onError' handler must return a value assignable to 'R', but ends without returning a value.

lib/common.dart:94:51

   ╷
94 │           onTimeout: onTimeout)).catchError((err) {
   │                                                   ^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/common.dart

INFO: Dangling library doc comment.

lib/ports/ports.dart:6:1

   ╷
6  │ ┌ /**
7  │ │  * Concurrent programming using _isolates_:
8  │ │  * independent workers that are similar to threads
9  │ │  * but don't share memory,
10 │ │  * communicating only via messages.
11 │ │  *
12 │ │  * To use this library in your code:
13 │ │  *
14 │ │  *     import 'dart:isolate';
15 │ │  *
16 │ │  * {@category VM}
17 │ └  */
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ports/ports.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
async ^2.6.1 2.11.0 2.11.0
collection ^1.15.0 1.18.0 1.18.0
dartxx ^0.5.0+2 0.5.5 0.5.5
equatable ^2.0.3 2.0.5 2.0.5
isolates ^3.0.3+8 3.0.3+8 3.0.3+8
js ^0.6.3 0.6.7 0.7.1
logging ^1.0.2 1.2.0 1.2.0
logging_config ^0.6.7+7 0.6.7+7 0.6.7+7
meta ^1.3.0 1.15.0 1.15.0
uuid ^3.0.4 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.1 1.1.1
crypto - 3.0.3 3.0.3
inflection3 - 0.5.3+2 0.5.3+2
intl - 0.17.0 0.19.0
path - 1.9.0 1.9.0
recase - 4.1.0 4.1.0
typed_data - 1.3.2 1.3.2

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

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

The constraint `^3.0.4` on uuid does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions uuid to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

4
likes
100
pub points
29%
popularity

Publisher

verified publishersunnyapp.co

A flutter package that works for native/web, and allows the creation of workers that offload work into a potentially parallel space

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, collection, dartxx, equatable, isolates, js, logging, logging_config, meta, uuid

More

Packages that depend on worker_service