Background Services

Background services are another fundamental building block of HNOD service packages, since they allow for a cleaner separation of the core business logic from the representational aspects of the UI and enable more direct collaboration across service package boundaries.

Since such background services run in Node.js, they have the full power of that rich ecosystem at their disposal, and don't take up resources in the UI's JavaScript engine.

Background services are built on top of gRPC and HNOD comes with a built-in framework for registering and discovering services that are running in the same device.

To get a more detailed overview of how to work with background services, please refer to the background service example package.

results matching ""

    No results matching ""