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

Craba is a method call component for custom communication.

Craba is a method call component for custom communication.

Usage #

// create a craba
final craba = Craba((message) async{
    // send message
});
//when message received.call:
craba.receive(message);
// register handle
craba.on('ping', (param, cancelable, notify)=>'pong');
// emit
await craba.emit('hello');
// deliver
await craba.deliver('download', param: '/path', onNotify: (param){

});
0
likes
90
pub points
0%
popularity

Publisher

unverified uploader

Craba is a method call component for custom communication.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cancelable

More

Packages that depend on craba