0 purchases
craba
Craba is a method call component for custom communication.
Usage #
// create a craba
final craba = Craba((message) async{
// send message
});
copied to clipboard
//when message received.call:
craba.receive(message);
copied to clipboard
// register handle
craba.on('ping', (param, cancelable, notify)=>'pong');
copied to clipboard
// emit
await craba.emit('hello');
copied to clipboard
// deliver
await craba.deliver('download', param: '/path', onNotify: (param){
});
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.