{
const topicPath = "my/topic";
session
.addStream(topicPath, diffusion.datatypes.double())
.on('value', (topic, specification, newValue, oldValue) => {
mutable subscribedValue = newValue;
});
await session.select(topicPath);
return `Subscribed to ${topicPath}`;
}