These are the docs for 14.0, an old version of SpatialOS.
The docs for this version are frozen: we do not correct, update or republish them.
14.3 is the newest →
Bridge configuration
The bridge
field of the worker configuration file
specifies the worker type’s runtime settings. It has the following overall structure:
"bridge": {
"worker_attribute_set": {},
"entity_interest": {},
"streaming_query": [],
"component_delivery": {},
"component_settings": {}
}
- The worker attribute set field (required) describes which layer this worker type belongs to.
- The entity interest field (optional) is about defining which entities a worker instance of this type gets component updates for.
- The streaming queries field (optional) lets you set up streaming queries to get information about entities.
- The component delivery field (optional) configures the set of components a worker instance receives updates about when it is receiving updates about an entity.
- The component settings field (optional) allows you to configure various component settings.