isolate_rpc 1.1.4 copy "isolate_rpc: ^1.1.4" to clipboard
isolate_rpc: ^1.1.4 copied to clipboard

isolate_rpc makes Isolate enjoyable. A simple RPC-style designed API for Isolate.

3
likes
140/ 160
pub points
0%
popularity

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

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

14 out of 22 API elements (63.6 %) have documentation comments.

Some symbols that are missing documentation: isolate_rpc.IsolateRpc, isolate_rpc.IsolateRpc.execute, isolate_rpc.IsolateRpc.shutdown, isolate_rpc.IsolateRpcError.message, isolate_rpc.IsolateRpcExecutor.size.

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:isolate_rpc/isolate_rpc.dart that imports:
  • package:isolate_rpc/src/isolate_rpc_base.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

Found 4 issues. Showing the first 2:

WARNING: This API is available since SDK 2.19.0, but constraints '>=2.14.0 <3.0.0' don't guarantee it.

lib/src/isolate_rpc_base.dart:91:40

   ╷
91 │ /// The concept is similar to [Isolate.run]. However, IsolateRpcService only create single Isolate while
   │                                        ^^^
   ╵

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

WARNING: This API is available since SDK 2.19.0, but constraints '>=2.14.0 <3.0.0' don't guarantee it.

lib/src/isolate_rpc_base.dart:92:14

   ╷
92 │ /// [Isolate.run] create NEW Isolate for each call. Thus, IsolateRpcService eliminates the overhead of creating
   │              ^^^
   ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
logging ^1.1.1 1.2.0 1.2.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.9, Dart 3.4.4.

Check the analysis log for details.

3
likes
140
pub points
0%
popularity

Publisher

verified publishergaplo.tech

isolate_rpc makes Isolate enjoyable. A simple RPC-style designed API for Isolate.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

logging

More

Packages that depend on isolate_rpc