Does ScalarSignalHistory work?

Tried this:

Reactive.val(0).history(10)

But getting an error : “Object is not a HostObject of desired type”
So does it work at all >_<?

For some reason the diagnostics module doesn’t appreciate it when you try to log a ScalarHistory. If you use the methods on the object, it will give you some old scalars

const R = require('Reactive')
const {log} = require('Diagnostics')
log(R.val(0).history(10).at(1))
2 Likes