geiger_api 0.7.2 geiger_api: ^0.7.2 copied to clipboard
A Communication API for the GEIGER ecosystem. It provides a unified interface for all plugins to communicate and transfer control between the components of the ecosystem.
toolbox-communicationApi #
This package contains the public interface to communicate in the GEIGER ecosystem.
Quick start #
To get an own API the first call should be:
GeigerApi? api = await getGeigerApi('<unspecified>', 'myPluginIdentifier');
The specification of the executor is not clear yet but it is there so that code remains functional when the feature is implemented. The plugin ID ('myPluginIdentifier') needs to be unique in the ecosystem. Failure to choose a unique ID will result in unreliable communication behavior.
Running tests #
Run tests with --concurrency=1
. Else some tests will try to get the same port simultaneously.