thread 0.2.2 copy "thread: ^0.2.2" to clipboard
thread: ^0.2.2 copied to clipboard

A simple Isolated Thread wrapped with a type-safe Event Emitter for easier asynchronous communication. Setup events for the thread to reply to, or compute tasks individually.

12
likes
150/ 160
pub points
83%
popularity

We analyzed this package 46 hours ago, and awarded it 150 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/DrafaKiller/Thread-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

26 out of 54 API elements (48.1 %) have documentation comments.

Some symbols that are missing documentation: thread, thread.ComputeCallback, thread.EmptyComputeCallback, thread.EventHandler, thread.InvalidThreadSendPortException.

10/10 points: Package has an example

failed
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:thread/thread.dart that imports:
  • package:thread/src/thread.dart that imports:
  • package:thread/event_emitter.dart that imports:
  • package:thread/src/event_emitter/emitter.dart that imports:
  • dart:isolate

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:thread/thread.dart that imports:
  • package:thread/src/thread.dart that imports:
  • package:thread/event_emitter.dart that imports:
  • package:thread/src/event_emitter/emitter.dart that imports:
  • dart:isolate

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
async_signal ^0.0.3 0.0.3 0.0.3
events_emitter ^0.5.2 0.5.2 0.5.2
uuid ^3.0.6 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
rxdart - 0.27.7 0.28.0
typed_data - 1.4.0 1.4.0

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

The constraint `^3.0.6` 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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

12
likes
150
pub points
83%
popularity

Publisher

verified publisherdrafakiller.com

A simple Isolated Thread wrapped with a type-safe Event Emitter for easier asynchronous communication. Setup events for the thread to reply to, or compute tasks individually.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async_signal, events_emitter, uuid

More

Packages that depend on thread