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

outdated

Craba is a method call component for custom communication.

Craba is a method call component for custom communication.

Usage #

TODO: Include short and useful examples for package users. Add longer examples to /example folder.

// 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
80
points
37
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Craba is a method call component for custom communication.

Homepage

License

BSD-3-Clause (license)

Dependencies

cancelable

More

Packages that depend on craba