opensensorhub / osh-core

OpenSensorHub Core Modules
http://docs.opensensorhub.org
Mozilla Public License 2.0
32 stars 16 forks source link

Improved On-demand Processing API #150

Open alexrobin opened 3 years ago

alexrobin commented 3 years ago

We need a better API for handling cases of on-demand processing triggered by a service call or other external action.

This is meant to improve on the current pattern used to solve this use case, that consists in developing a sensor driver that only responds to calls to getLatestRecord() and getLatestRecords().

This is especially needed because as this pattern won't work in v2 if we want to avoid communicating with sensor drivers directly.