isolatengine 0.0.2 copy "isolatengine: ^0.0.2" to clipboard
isolatengine: ^0.0.2 copied to clipboard

outdated

isolate communication engine.

Usage #

void _entry(SendPort sendPort) async {
  final receivePort = ReceivePort();
  final engine = Isolatengine(receivePort, sendPort);
  // register method
  await engine.receive();
}

void main(){
    final receivePort = ReceivePort();
    final engine = Isolatengine(receivePort);
    // register method
    await Isolate.spawn(_entry, receivePort.sendPort);
    await engine.receive();
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

isolate communication engine.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cancelable, flutter

More

Packages that depend on isolatengine