Conversator

Why ?

With conversator, you can send data/message across files. It works like web socket but it runs locally.

How to use ?

void main(List<String> arguments) {
  conversator.listen('onMsg', ((String data) => print(data)));
  conversator.listen<String>('msg', ((data) => print(data)));

  conversator.speak('msg', 'Hello Bro');
  conversator.speak<String>('msg', 'Hey Bro');
}

You can also use these in different files (speak in file 1, listen in file 2).

Libraries

actions
conversator
listener